configure revision 7366012a
17a0395d0Smrg#! /bin/sh 27a0395d0Smrg# Guess values for system-dependent variables and create Makefiles. 37366012aSmrg# Generated by GNU Autoconf 2.63 for xauth 1.0.4. 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, 87366012aSmrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008 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=: 207366012aSmrg # Pre-4.2 versions of Zsh do 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 427366012aSmrgas_nl=' 437366012aSmrg' 447366012aSmrgexport as_nl 457366012aSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 467366012aSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 477366012aSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 487366012aSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 497366012aSmrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 507366012aSmrg as_echo='printf %s\n' 517366012aSmrg as_echo_n='printf %s' 527366012aSmrgelse 537366012aSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 547366012aSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 557366012aSmrg as_echo_n='/usr/ucb/echo -n' 567a0395d0Smrg else 577366012aSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 587366012aSmrg as_echo_n_body='eval 597366012aSmrg arg=$1; 607366012aSmrg case $arg in 617366012aSmrg *"$as_nl"*) 627366012aSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 637366012aSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 647366012aSmrg esac; 657366012aSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 667366012aSmrg ' 677366012aSmrg export as_echo_n_body 687366012aSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 697a0395d0Smrg fi 707366012aSmrg export as_echo_body 717366012aSmrg as_echo='sh -c $as_echo_body as_echo' 727366012aSmrgfi 737366012aSmrg 747366012aSmrg# The user is always right. 757366012aSmrgif test "${PATH_SEPARATOR+set}" != set; then 767366012aSmrg PATH_SEPARATOR=: 777366012aSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 787366012aSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 797366012aSmrg PATH_SEPARATOR=';' 807366012aSmrg } 817a0395d0Smrgfi 827a0395d0Smrg 837a0395d0Smrg# Support unset when possible. 847a0395d0Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 857a0395d0Smrg as_unset=unset 867a0395d0Smrgelse 877a0395d0Smrg as_unset=false 887a0395d0Smrgfi 897a0395d0Smrg 907a0395d0Smrg 917a0395d0Smrg# IFS 927a0395d0Smrg# We need space, tab and new line, in precisely that order. Quoting is 937a0395d0Smrg# there to prevent editors from complaining about space-tab. 947a0395d0Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 957a0395d0Smrg# splitting by setting IFS to empty value.) 967a0395d0SmrgIFS=" "" $as_nl" 977a0395d0Smrg 987a0395d0Smrg# Find who we are. Look in the path if we contain no directory separator. 997a0395d0Smrgcase $0 in 1007a0395d0Smrg *[\\/]* ) as_myself=$0 ;; 1017a0395d0Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1027a0395d0Smrgfor as_dir in $PATH 1037a0395d0Smrgdo 1047a0395d0Smrg IFS=$as_save_IFS 1057a0395d0Smrg test -z "$as_dir" && as_dir=. 1067a0395d0Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1077a0395d0Smrgdone 1087a0395d0SmrgIFS=$as_save_IFS 1097a0395d0Smrg 1107a0395d0Smrg ;; 1117a0395d0Smrgesac 1127a0395d0Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 1137a0395d0Smrg# in which case we are not to be found in the path. 1147a0395d0Smrgif test "x$as_myself" = x; then 1157a0395d0Smrg as_myself=$0 1167a0395d0Smrgfi 1177a0395d0Smrgif test ! -f "$as_myself"; then 1187366012aSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1197a0395d0Smrg { (exit 1); exit 1; } 1207a0395d0Smrgfi 1217a0395d0Smrg 1227a0395d0Smrg# Work around bugs in pre-3.0 UWIN ksh. 1237a0395d0Smrgfor as_var in ENV MAIL MAILPATH 1247a0395d0Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 1257a0395d0Smrgdone 1267a0395d0SmrgPS1='$ ' 1277a0395d0SmrgPS2='> ' 1287a0395d0SmrgPS4='+ ' 1297a0395d0Smrg 1307a0395d0Smrg# NLS nuisances. 1317366012aSmrgLC_ALL=C 1327366012aSmrgexport LC_ALL 1337366012aSmrgLANGUAGE=C 1347366012aSmrgexport LANGUAGE 1357a0395d0Smrg 1367a0395d0Smrg# Required to use basename. 1377a0395d0Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 1387a0395d0Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 1397a0395d0Smrg as_expr=expr 1407a0395d0Smrgelse 1417a0395d0Smrg as_expr=false 1427a0395d0Smrgfi 1437a0395d0Smrg 1447a0395d0Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 1457a0395d0Smrg as_basename=basename 1467a0395d0Smrgelse 1477a0395d0Smrg as_basename=false 1487a0395d0Smrgfi 1497a0395d0Smrg 1507a0395d0Smrg 1517a0395d0Smrg# Name of the executable. 1527a0395d0Smrgas_me=`$as_basename -- "$0" || 1537a0395d0Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 1547a0395d0Smrg X"$0" : 'X\(//\)$' \| \ 1557a0395d0Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 1567366012aSmrg$as_echo X/"$0" | 1577a0395d0Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 1587a0395d0Smrg s//\1/ 1597a0395d0Smrg q 1607a0395d0Smrg } 1617a0395d0Smrg /^X\/\(\/\/\)$/{ 1627a0395d0Smrg s//\1/ 1637a0395d0Smrg q 1647a0395d0Smrg } 1657a0395d0Smrg /^X\/\(\/\).*/{ 1667a0395d0Smrg s//\1/ 1677a0395d0Smrg q 1687a0395d0Smrg } 1697a0395d0Smrg s/.*/./; q'` 1707a0395d0Smrg 1717a0395d0Smrg# CDPATH. 1727a0395d0Smrg$as_unset CDPATH 1737a0395d0Smrg 1747a0395d0Smrg 1757a0395d0Smrgif test "x$CONFIG_SHELL" = x; then 1767a0395d0Smrg if (eval ":") 2>/dev/null; then 1777a0395d0Smrg as_have_required=yes 1787a0395d0Smrgelse 1797a0395d0Smrg as_have_required=no 1807a0395d0Smrgfi 1817a0395d0Smrg 1827366012aSmrg if test $as_have_required = yes && (eval ": 1837a0395d0Smrg(as_func_return () { 1847a0395d0Smrg (exit \$1) 1857a0395d0Smrg} 1867a0395d0Smrgas_func_success () { 1877a0395d0Smrg as_func_return 0 1887a0395d0Smrg} 1897a0395d0Smrgas_func_failure () { 1907a0395d0Smrg as_func_return 1 1917a0395d0Smrg} 1927a0395d0Smrgas_func_ret_success () { 1937a0395d0Smrg return 0 1947a0395d0Smrg} 1957a0395d0Smrgas_func_ret_failure () { 1967a0395d0Smrg return 1 1977a0395d0Smrg} 1987a0395d0Smrg 1997a0395d0Smrgexitcode=0 2007a0395d0Smrgif as_func_success; then 2017a0395d0Smrg : 2027a0395d0Smrgelse 2037a0395d0Smrg exitcode=1 2047a0395d0Smrg echo as_func_success failed. 2057a0395d0Smrgfi 2067a0395d0Smrg 2077a0395d0Smrgif as_func_failure; then 2087a0395d0Smrg exitcode=1 2097a0395d0Smrg echo as_func_failure succeeded. 2107a0395d0Smrgfi 2117a0395d0Smrg 2127a0395d0Smrgif as_func_ret_success; then 2137a0395d0Smrg : 2147a0395d0Smrgelse 2157a0395d0Smrg exitcode=1 2167a0395d0Smrg echo as_func_ret_success failed. 2177a0395d0Smrgfi 2187a0395d0Smrg 2197a0395d0Smrgif as_func_ret_failure; then 2207a0395d0Smrg exitcode=1 2217a0395d0Smrg echo as_func_ret_failure succeeded. 2227a0395d0Smrgfi 2237a0395d0Smrg 2247a0395d0Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 2257a0395d0Smrg : 2267a0395d0Smrgelse 2277a0395d0Smrg exitcode=1 2287a0395d0Smrg echo positional parameters were not saved. 2297a0395d0Smrgfi 2307a0395d0Smrg 2317a0395d0Smrgtest \$exitcode = 0) || { (exit 1); exit 1; } 2327a0395d0Smrg 2337a0395d0Smrg( 2347a0395d0Smrg as_lineno_1=\$LINENO 2357a0395d0Smrg as_lineno_2=\$LINENO 2367a0395d0Smrg test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 2377a0395d0Smrg test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 2387a0395d0Smrg") 2> /dev/null; then 2397a0395d0Smrg : 2407a0395d0Smrgelse 2417a0395d0Smrg as_candidate_shells= 2427a0395d0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2437a0395d0Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 2447a0395d0Smrgdo 2457a0395d0Smrg IFS=$as_save_IFS 2467a0395d0Smrg test -z "$as_dir" && as_dir=. 2477a0395d0Smrg case $as_dir in 2487a0395d0Smrg /*) 2497a0395d0Smrg for as_base in sh bash ksh sh5; do 2507a0395d0Smrg as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 2517a0395d0Smrg done;; 2527a0395d0Smrg esac 2537a0395d0Smrgdone 2547a0395d0SmrgIFS=$as_save_IFS 2557a0395d0Smrg 2567a0395d0Smrg 2577a0395d0Smrg for as_shell in $as_candidate_shells $SHELL; do 2587a0395d0Smrg # Try only shells that exist, to save several forks. 2597a0395d0Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 2607a0395d0Smrg { ("$as_shell") 2> /dev/null <<\_ASEOF 2617a0395d0Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2627a0395d0Smrg emulate sh 2637a0395d0Smrg NULLCMD=: 2647366012aSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 2657a0395d0Smrg # is contrary to our usage. Disable this feature. 2667a0395d0Smrg alias -g '${1+"$@"}'='"$@"' 2677a0395d0Smrg setopt NO_GLOB_SUBST 2687a0395d0Smrgelse 2697a0395d0Smrg case `(set -o) 2>/dev/null` in 2707a0395d0Smrg *posix*) set -o posix ;; 2717a0395d0Smrgesac 2727a0395d0Smrg 2737a0395d0Smrgfi 2747a0395d0Smrg 2757a0395d0Smrg 2767a0395d0Smrg: 2777a0395d0Smrg_ASEOF 2787a0395d0Smrg}; then 2797a0395d0Smrg CONFIG_SHELL=$as_shell 2807a0395d0Smrg as_have_required=yes 2817a0395d0Smrg if { "$as_shell" 2> /dev/null <<\_ASEOF 2827a0395d0Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2837a0395d0Smrg emulate sh 2847a0395d0Smrg NULLCMD=: 2857366012aSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 2867a0395d0Smrg # is contrary to our usage. Disable this feature. 2877a0395d0Smrg alias -g '${1+"$@"}'='"$@"' 2887a0395d0Smrg setopt NO_GLOB_SUBST 2897a0395d0Smrgelse 2907a0395d0Smrg case `(set -o) 2>/dev/null` in 2917a0395d0Smrg *posix*) set -o posix ;; 2927a0395d0Smrgesac 2937a0395d0Smrg 2947a0395d0Smrgfi 2957a0395d0Smrg 2967a0395d0Smrg 2977a0395d0Smrg: 2987a0395d0Smrg(as_func_return () { 2997a0395d0Smrg (exit $1) 3007a0395d0Smrg} 3017a0395d0Smrgas_func_success () { 3027a0395d0Smrg as_func_return 0 3037a0395d0Smrg} 3047a0395d0Smrgas_func_failure () { 3057a0395d0Smrg as_func_return 1 3067a0395d0Smrg} 3077a0395d0Smrgas_func_ret_success () { 3087a0395d0Smrg return 0 3097a0395d0Smrg} 3107a0395d0Smrgas_func_ret_failure () { 3117a0395d0Smrg return 1 3127a0395d0Smrg} 3137a0395d0Smrg 3147a0395d0Smrgexitcode=0 3157a0395d0Smrgif as_func_success; then 3167a0395d0Smrg : 3177a0395d0Smrgelse 3187a0395d0Smrg exitcode=1 3197a0395d0Smrg echo as_func_success failed. 3207a0395d0Smrgfi 3217a0395d0Smrg 3227a0395d0Smrgif as_func_failure; then 3237a0395d0Smrg exitcode=1 3247a0395d0Smrg echo as_func_failure succeeded. 3257a0395d0Smrgfi 3267a0395d0Smrg 3277a0395d0Smrgif as_func_ret_success; then 3287a0395d0Smrg : 3297a0395d0Smrgelse 3307a0395d0Smrg exitcode=1 3317a0395d0Smrg echo as_func_ret_success failed. 3327a0395d0Smrgfi 3337a0395d0Smrg 3347a0395d0Smrgif as_func_ret_failure; then 3357a0395d0Smrg exitcode=1 3367a0395d0Smrg echo as_func_ret_failure succeeded. 3377a0395d0Smrgfi 3387a0395d0Smrg 3397a0395d0Smrgif ( set x; as_func_ret_success y && test x = "$1" ); then 3407a0395d0Smrg : 3417a0395d0Smrgelse 3427a0395d0Smrg exitcode=1 3437a0395d0Smrg echo positional parameters were not saved. 3447a0395d0Smrgfi 3457a0395d0Smrg 3467a0395d0Smrgtest $exitcode = 0) || { (exit 1); exit 1; } 3477a0395d0Smrg 3487a0395d0Smrg( 3497a0395d0Smrg as_lineno_1=$LINENO 3507a0395d0Smrg as_lineno_2=$LINENO 3517a0395d0Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 3527a0395d0Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 3537a0395d0Smrg 3547a0395d0Smrg_ASEOF 3557a0395d0Smrg}; then 3567a0395d0Smrg break 3577a0395d0Smrgfi 3587a0395d0Smrg 3597a0395d0Smrgfi 3607a0395d0Smrg 3617a0395d0Smrg done 3627a0395d0Smrg 3637a0395d0Smrg if test "x$CONFIG_SHELL" != x; then 3647a0395d0Smrg for as_var in BASH_ENV ENV 3657366012aSmrg do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 3667366012aSmrg done 3677366012aSmrg export CONFIG_SHELL 3687366012aSmrg exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 3697a0395d0Smrgfi 3707a0395d0Smrg 3717a0395d0Smrg 3727a0395d0Smrg if test $as_have_required = no; then 3737a0395d0Smrg echo This script requires a shell more modern than all the 3747a0395d0Smrg echo shells that I found on your system. Please install a 3757a0395d0Smrg echo modern shell, or manually run the script under such a 3767a0395d0Smrg echo shell if you do have one. 3777a0395d0Smrg { (exit 1); exit 1; } 3787a0395d0Smrgfi 3797a0395d0Smrg 3807a0395d0Smrg 3817a0395d0Smrgfi 3827a0395d0Smrg 3837a0395d0Smrgfi 3847a0395d0Smrg 3857a0395d0Smrg 3867a0395d0Smrg 3877a0395d0Smrg(eval "as_func_return () { 3887a0395d0Smrg (exit \$1) 3897a0395d0Smrg} 3907a0395d0Smrgas_func_success () { 3917a0395d0Smrg as_func_return 0 3927a0395d0Smrg} 3937a0395d0Smrgas_func_failure () { 3947a0395d0Smrg as_func_return 1 3957a0395d0Smrg} 3967a0395d0Smrgas_func_ret_success () { 3977a0395d0Smrg return 0 3987a0395d0Smrg} 3997a0395d0Smrgas_func_ret_failure () { 4007a0395d0Smrg return 1 4017a0395d0Smrg} 4027a0395d0Smrg 4037a0395d0Smrgexitcode=0 4047a0395d0Smrgif as_func_success; then 4057a0395d0Smrg : 4067a0395d0Smrgelse 4077a0395d0Smrg exitcode=1 4087a0395d0Smrg echo as_func_success failed. 4097a0395d0Smrgfi 4107a0395d0Smrg 4117a0395d0Smrgif as_func_failure; then 4127a0395d0Smrg exitcode=1 4137a0395d0Smrg echo as_func_failure succeeded. 4147a0395d0Smrgfi 4157a0395d0Smrg 4167a0395d0Smrgif as_func_ret_success; then 4177a0395d0Smrg : 4187a0395d0Smrgelse 4197a0395d0Smrg exitcode=1 4207a0395d0Smrg echo as_func_ret_success failed. 4217a0395d0Smrgfi 4227a0395d0Smrg 4237a0395d0Smrgif as_func_ret_failure; then 4247a0395d0Smrg exitcode=1 4257a0395d0Smrg echo as_func_ret_failure succeeded. 4267a0395d0Smrgfi 4277a0395d0Smrg 4287a0395d0Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 4297a0395d0Smrg : 4307a0395d0Smrgelse 4317a0395d0Smrg exitcode=1 4327a0395d0Smrg echo positional parameters were not saved. 4337a0395d0Smrgfi 4347a0395d0Smrg 4357a0395d0Smrgtest \$exitcode = 0") || { 4367a0395d0Smrg echo No shell found that supports shell functions. 4377366012aSmrg echo Please tell bug-autoconf@gnu.org about your system, 4387366012aSmrg echo including any error possibly output before this message. 4397366012aSmrg echo This can help us improve future autoconf versions. 4407366012aSmrg echo Configuration will now proceed without shell functions. 4417a0395d0Smrg} 4427a0395d0Smrg 4437a0395d0Smrg 4447a0395d0Smrg 4457a0395d0Smrg as_lineno_1=$LINENO 4467a0395d0Smrg as_lineno_2=$LINENO 4477a0395d0Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 4487a0395d0Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 4497a0395d0Smrg 4507a0395d0Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 4517a0395d0Smrg # uniformly replaced by the line number. The first 'sed' inserts a 4527a0395d0Smrg # line-number line after each line using $LINENO; the second 'sed' 4537a0395d0Smrg # does the real work. The second script uses 'N' to pair each 4547a0395d0Smrg # line-number line with the line containing $LINENO, and appends 4557a0395d0Smrg # trailing '-' during substitution so that $LINENO is not a special 4567a0395d0Smrg # case at line end. 4577a0395d0Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 4587a0395d0Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 4597a0395d0Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 4607a0395d0Smrg sed -n ' 4617a0395d0Smrg p 4627a0395d0Smrg /[$]LINENO/= 4637a0395d0Smrg ' <$as_myself | 4647a0395d0Smrg sed ' 4657a0395d0Smrg s/[$]LINENO.*/&-/ 4667a0395d0Smrg t lineno 4677a0395d0Smrg b 4687a0395d0Smrg :lineno 4697a0395d0Smrg N 4707a0395d0Smrg :loop 4717a0395d0Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4727a0395d0Smrg t loop 4737a0395d0Smrg s/-\n.*// 4747a0395d0Smrg ' >$as_me.lineno && 4757a0395d0Smrg chmod +x "$as_me.lineno" || 4767366012aSmrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 4777a0395d0Smrg { (exit 1); exit 1; }; } 4787a0395d0Smrg 4797a0395d0Smrg # Don't try to exec as it changes $[0], causing all sort of problems 4807a0395d0Smrg # (the dirname of $[0] is not the place where we might find the 4817a0395d0Smrg # original and so on. Autoconf is especially sensitive to this). 4827a0395d0Smrg . "./$as_me.lineno" 4837a0395d0Smrg # Exit status is that of the last command. 4847a0395d0Smrg exit 4857a0395d0Smrg} 4867a0395d0Smrg 4877a0395d0Smrg 4887a0395d0Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4897a0395d0Smrg as_dirname=dirname 4907a0395d0Smrgelse 4917a0395d0Smrg as_dirname=false 4927a0395d0Smrgfi 4937a0395d0Smrg 4947a0395d0SmrgECHO_C= ECHO_N= ECHO_T= 4957a0395d0Smrgcase `echo -n x` in 4967a0395d0Smrg-n*) 4977a0395d0Smrg case `echo 'x\c'` in 4987a0395d0Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4997a0395d0Smrg *) ECHO_C='\c';; 5007a0395d0Smrg esac;; 5017a0395d0Smrg*) 5027a0395d0Smrg ECHO_N='-n';; 5037a0395d0Smrgesac 5047a0395d0Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 5057a0395d0Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5067a0395d0Smrg as_expr=expr 5077a0395d0Smrgelse 5087a0395d0Smrg as_expr=false 5097a0395d0Smrgfi 5107a0395d0Smrg 5117a0395d0Smrgrm -f conf$$ conf$$.exe conf$$.file 5127a0395d0Smrgif test -d conf$$.dir; then 5137a0395d0Smrg rm -f conf$$.dir/conf$$.file 5147a0395d0Smrgelse 5157a0395d0Smrg rm -f conf$$.dir 5167366012aSmrg mkdir conf$$.dir 2>/dev/null 5177366012aSmrgfi 5187366012aSmrgif (echo >conf$$.file) 2>/dev/null; then 5197366012aSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5207366012aSmrg as_ln_s='ln -s' 5217366012aSmrg # ... but there are two gotchas: 5227366012aSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5237366012aSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5247366012aSmrg # In both cases, we have to default to `cp -p'. 5257366012aSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5267366012aSmrg as_ln_s='cp -p' 5277366012aSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 5287366012aSmrg as_ln_s=ln 5297366012aSmrg else 5307a0395d0Smrg as_ln_s='cp -p' 5317366012aSmrg fi 5327a0395d0Smrgelse 5337a0395d0Smrg as_ln_s='cp -p' 5347a0395d0Smrgfi 5357a0395d0Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5367a0395d0Smrgrmdir conf$$.dir 2>/dev/null 5377a0395d0Smrg 5387a0395d0Smrgif mkdir -p . 2>/dev/null; then 5397a0395d0Smrg as_mkdir_p=: 5407a0395d0Smrgelse 5417a0395d0Smrg test -d ./-p && rmdir ./-p 5427a0395d0Smrg as_mkdir_p=false 5437a0395d0Smrgfi 5447a0395d0Smrg 5457a0395d0Smrgif test -x / >/dev/null 2>&1; then 5467a0395d0Smrg as_test_x='test -x' 5477a0395d0Smrgelse 5487a0395d0Smrg if ls -dL / >/dev/null 2>&1; then 5497a0395d0Smrg as_ls_L_option=L 5507a0395d0Smrg else 5517a0395d0Smrg as_ls_L_option= 5527a0395d0Smrg fi 5537a0395d0Smrg as_test_x=' 5547a0395d0Smrg eval sh -c '\'' 5557a0395d0Smrg if test -d "$1"; then 5567366012aSmrg test -d "$1/."; 5577a0395d0Smrg else 5587a0395d0Smrg case $1 in 5597366012aSmrg -*)set "./$1";; 5607a0395d0Smrg esac; 5617a0395d0Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 5627a0395d0Smrg ???[sx]*):;;*)false;;esac;fi 5637a0395d0Smrg '\'' sh 5647a0395d0Smrg ' 5657a0395d0Smrgfi 5667a0395d0Smrgas_executable_p=$as_test_x 5677a0395d0Smrg 5687a0395d0Smrg# Sed expression to map a string onto a valid CPP name. 5697a0395d0Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5707a0395d0Smrg 5717a0395d0Smrg# Sed expression to map a string onto a valid variable name. 5727a0395d0Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5737a0395d0Smrg 5747a0395d0Smrg 5757a0395d0Smrg 5767a0395d0Smrgexec 7<&0 </dev/null 6>&1 5777a0395d0Smrg 5787a0395d0Smrg# Name of the host. 5797a0395d0Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 5807a0395d0Smrg# so uname gets run too. 5817a0395d0Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 5827a0395d0Smrg 5837a0395d0Smrg# 5847a0395d0Smrg# Initializations. 5857a0395d0Smrg# 5867a0395d0Smrgac_default_prefix=/usr/local 5877a0395d0Smrgac_clean_files= 5887a0395d0Smrgac_config_libobj_dir=. 5897a0395d0SmrgLIBOBJS= 5907a0395d0Smrgcross_compiling=no 5917a0395d0Smrgsubdirs= 5927a0395d0SmrgMFLAGS= 5937a0395d0SmrgMAKEFLAGS= 5947a0395d0SmrgSHELL=${CONFIG_SHELL-/bin/sh} 5957a0395d0Smrg 5967a0395d0Smrg# Identity of this package. 5977a0395d0SmrgPACKAGE_NAME='xauth' 5987a0395d0SmrgPACKAGE_TARNAME='xauth' 5997366012aSmrgPACKAGE_VERSION='1.0.4' 6007366012aSmrgPACKAGE_STRING='xauth 1.0.4' 6017a0395d0SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 6027a0395d0Smrg 6037a0395d0Smrg# Factoring default headers for most tests. 6047a0395d0Smrgac_includes_default="\ 6057a0395d0Smrg#include <stdio.h> 6067a0395d0Smrg#ifdef HAVE_SYS_TYPES_H 6077a0395d0Smrg# include <sys/types.h> 6087a0395d0Smrg#endif 6097a0395d0Smrg#ifdef HAVE_SYS_STAT_H 6107a0395d0Smrg# include <sys/stat.h> 6117a0395d0Smrg#endif 6127a0395d0Smrg#ifdef STDC_HEADERS 6137a0395d0Smrg# include <stdlib.h> 6147a0395d0Smrg# include <stddef.h> 6157a0395d0Smrg#else 6167a0395d0Smrg# ifdef HAVE_STDLIB_H 6177a0395d0Smrg# include <stdlib.h> 6187a0395d0Smrg# endif 6197a0395d0Smrg#endif 6207a0395d0Smrg#ifdef HAVE_STRING_H 6217a0395d0Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 6227a0395d0Smrg# include <memory.h> 6237a0395d0Smrg# endif 6247a0395d0Smrg# include <string.h> 6257a0395d0Smrg#endif 6267a0395d0Smrg#ifdef HAVE_STRINGS_H 6277a0395d0Smrg# include <strings.h> 6287a0395d0Smrg#endif 6297a0395d0Smrg#ifdef HAVE_INTTYPES_H 6307a0395d0Smrg# include <inttypes.h> 6317a0395d0Smrg#endif 6327a0395d0Smrg#ifdef HAVE_STDINT_H 6337a0395d0Smrg# include <stdint.h> 6347a0395d0Smrg#endif 6357a0395d0Smrg#ifdef HAVE_UNISTD_H 6367a0395d0Smrg# include <unistd.h> 6377a0395d0Smrg#endif" 6387a0395d0Smrg 6397366012aSmrgac_subst_vars='am__EXEEXT_FALSE 6407366012aSmrgam__EXEEXT_TRUE 6417366012aSmrgLTLIBOBJS 6427366012aSmrgLIBOBJS 6437a0395d0SmrgLINT_FALSE 6447366012aSmrgLINT_TRUE 6457366012aSmrgLINT_FLAGS 6467366012aSmrgLINT 6477366012aSmrgXAUTH_LIBS 6487366012aSmrgXAUTH_CFLAGS 6497366012aSmrgPKG_CONFIG 6507a0395d0SmrgADMIN_MAN_DIR 6517366012aSmrgDRIVER_MAN_DIR 6527366012aSmrgMISC_MAN_DIR 6537366012aSmrgFILE_MAN_DIR 6547366012aSmrgLIB_MAN_DIR 6557366012aSmrgAPP_MAN_DIR 6567366012aSmrgADMIN_MAN_SUFFIX 6577366012aSmrgDRIVER_MAN_SUFFIX 6587366012aSmrgMISC_MAN_SUFFIX 6597366012aSmrgFILE_MAN_SUFFIX 6607366012aSmrgLIB_MAN_SUFFIX 6617366012aSmrgAPP_MAN_SUFFIX 6627366012aSmrghost_os 6637366012aSmrghost_vendor 6647366012aSmrghost_cpu 6657366012aSmrghost 6667366012aSmrgbuild_os 6677366012aSmrgbuild_vendor 6687366012aSmrgbuild_cpu 6697366012aSmrgbuild 6707366012aSmrgdistcleancheck_listfiles 6717366012aSmrgCHANGELOG_CMD 6727366012aSmrgAM_BACKSLASH 6737366012aSmrgAM_DEFAULT_VERBOSITY 6747366012aSmrgCWARNFLAGS 6757366012aSmrgEGREP 6767366012aSmrgGREP 6777366012aSmrgCPP 6787366012aSmrgam__fastdepCC_FALSE 6797366012aSmrgam__fastdepCC_TRUE 6807366012aSmrgCCDEPMODE 6817366012aSmrgAMDEPBACKSLASH 6827366012aSmrgAMDEP_FALSE 6837366012aSmrgAMDEP_TRUE 6847366012aSmrgam__quote 6857366012aSmrgam__include 6867366012aSmrgDEPDIR 6877366012aSmrgOBJEXT 6887366012aSmrgEXEEXT 6897366012aSmrgac_ct_CC 6907366012aSmrgCPPFLAGS 6917366012aSmrgLDFLAGS 6927366012aSmrgCFLAGS 6937366012aSmrgCC 6947366012aSmrgMAINT 6957366012aSmrgMAINTAINER_MODE_FALSE 6967366012aSmrgMAINTAINER_MODE_TRUE 6977366012aSmrgam__untar 6987366012aSmrgam__tar 6997366012aSmrgAMTAR 7007366012aSmrgam__leading_dot 7017366012aSmrgSET_MAKE 7027366012aSmrgAWK 7037366012aSmrgmkdir_p 7047366012aSmrgMKDIR_P 7057366012aSmrgINSTALL_STRIP_PROGRAM 7067366012aSmrgSTRIP 7077366012aSmrginstall_sh 7087366012aSmrgMAKEINFO 7097366012aSmrgAUTOHEADER 7107366012aSmrgAUTOMAKE 7117366012aSmrgAUTOCONF 7127366012aSmrgACLOCAL 7137366012aSmrgVERSION 7147366012aSmrgPACKAGE 7157366012aSmrgCYGPATH_W 7167366012aSmrgam__isrc 7177366012aSmrgINSTALL_DATA 7187366012aSmrgINSTALL_SCRIPT 7197366012aSmrgINSTALL_PROGRAM 7207366012aSmrgtarget_alias 7217366012aSmrghost_alias 7227366012aSmrgbuild_alias 7237366012aSmrgLIBS 7247366012aSmrgECHO_T 7257366012aSmrgECHO_N 7267366012aSmrgECHO_C 7277366012aSmrgDEFS 7287366012aSmrgmandir 7297366012aSmrglocaledir 7307366012aSmrglibdir 7317366012aSmrgpsdir 7327366012aSmrgpdfdir 7337366012aSmrgdvidir 7347366012aSmrghtmldir 7357366012aSmrginfodir 7367366012aSmrgdocdir 7377366012aSmrgoldincludedir 7387366012aSmrgincludedir 7397366012aSmrglocalstatedir 7407366012aSmrgsharedstatedir 7417366012aSmrgsysconfdir 7427366012aSmrgdatadir 7437366012aSmrgdatarootdir 7447366012aSmrglibexecdir 7457366012aSmrgsbindir 7467366012aSmrgbindir 7477366012aSmrgprogram_transform_name 7487366012aSmrgprefix 7497366012aSmrgexec_prefix 7507366012aSmrgPACKAGE_BUGREPORT 7517366012aSmrgPACKAGE_STRING 7527366012aSmrgPACKAGE_VERSION 7537366012aSmrgPACKAGE_TARNAME 7547366012aSmrgPACKAGE_NAME 7557366012aSmrgPATH_SEPARATOR 7567366012aSmrgSHELL' 7577a0395d0Smrgac_subst_files='' 7587366012aSmrgac_user_opts=' 7597366012aSmrgenable_option_checking 7607366012aSmrgenable_maintainer_mode 7617366012aSmrgenable_dependency_tracking 7627366012aSmrgenable_silent_rules 7637366012aSmrgenable_strict_compilation 7647366012aSmrgwith_release_version 7657366012aSmrgenable_unix_transport 7667366012aSmrgenable_tcp_transport 7677366012aSmrgenable_ipv6 7687366012aSmrgenable_local_transport 7697366012aSmrgwith_lint 7707366012aSmrg' 7717a0395d0Smrg ac_precious_vars='build_alias 7727a0395d0Smrghost_alias 7737a0395d0Smrgtarget_alias 7747a0395d0SmrgCC 7757a0395d0SmrgCFLAGS 7767a0395d0SmrgLDFLAGS 7777a0395d0SmrgLIBS 7787a0395d0SmrgCPPFLAGS 7797a0395d0SmrgCPP 7807a0395d0SmrgPKG_CONFIG 7817a0395d0SmrgXAUTH_CFLAGS 7827a0395d0SmrgXAUTH_LIBS' 7837a0395d0Smrg 7847a0395d0Smrg 7857a0395d0Smrg# Initialize some variables set by options. 7867a0395d0Smrgac_init_help= 7877a0395d0Smrgac_init_version=false 7887366012aSmrgac_unrecognized_opts= 7897366012aSmrgac_unrecognized_sep= 7907a0395d0Smrg# The variables have the same names as the options, with 7917a0395d0Smrg# dashes changed to underlines. 7927a0395d0Smrgcache_file=/dev/null 7937a0395d0Smrgexec_prefix=NONE 7947a0395d0Smrgno_create= 7957a0395d0Smrgno_recursion= 7967a0395d0Smrgprefix=NONE 7977a0395d0Smrgprogram_prefix=NONE 7987a0395d0Smrgprogram_suffix=NONE 7997a0395d0Smrgprogram_transform_name=s,x,x, 8007a0395d0Smrgsilent= 8017a0395d0Smrgsite= 8027a0395d0Smrgsrcdir= 8037a0395d0Smrgverbose= 8047a0395d0Smrgx_includes=NONE 8057a0395d0Smrgx_libraries=NONE 8067a0395d0Smrg 8077a0395d0Smrg# Installation directory options. 8087a0395d0Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 8097a0395d0Smrg# and all the variables that are supposed to be based on exec_prefix 8107a0395d0Smrg# by default will actually change. 8117a0395d0Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 8127a0395d0Smrg# (The list follows the same order as the GNU Coding Standards.) 8137a0395d0Smrgbindir='${exec_prefix}/bin' 8147a0395d0Smrgsbindir='${exec_prefix}/sbin' 8157a0395d0Smrglibexecdir='${exec_prefix}/libexec' 8167a0395d0Smrgdatarootdir='${prefix}/share' 8177a0395d0Smrgdatadir='${datarootdir}' 8187a0395d0Smrgsysconfdir='${prefix}/etc' 8197a0395d0Smrgsharedstatedir='${prefix}/com' 8207a0395d0Smrglocalstatedir='${prefix}/var' 8217a0395d0Smrgincludedir='${prefix}/include' 8227a0395d0Smrgoldincludedir='/usr/include' 8237a0395d0Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 8247a0395d0Smrginfodir='${datarootdir}/info' 8257a0395d0Smrghtmldir='${docdir}' 8267a0395d0Smrgdvidir='${docdir}' 8277a0395d0Smrgpdfdir='${docdir}' 8287a0395d0Smrgpsdir='${docdir}' 8297a0395d0Smrglibdir='${exec_prefix}/lib' 8307a0395d0Smrglocaledir='${datarootdir}/locale' 8317a0395d0Smrgmandir='${datarootdir}/man' 8327a0395d0Smrg 8337a0395d0Smrgac_prev= 8347a0395d0Smrgac_dashdash= 8357a0395d0Smrgfor ac_option 8367a0395d0Smrgdo 8377a0395d0Smrg # If the previous option needs an argument, assign it. 8387a0395d0Smrg if test -n "$ac_prev"; then 8397a0395d0Smrg eval $ac_prev=\$ac_option 8407a0395d0Smrg ac_prev= 8417a0395d0Smrg continue 8427a0395d0Smrg fi 8437a0395d0Smrg 8447a0395d0Smrg case $ac_option in 8457a0395d0Smrg *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 8467a0395d0Smrg *) ac_optarg=yes ;; 8477a0395d0Smrg esac 8487a0395d0Smrg 8497a0395d0Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 8507a0395d0Smrg 8517a0395d0Smrg case $ac_dashdash$ac_option in 8527a0395d0Smrg --) 8537a0395d0Smrg ac_dashdash=yes ;; 8547a0395d0Smrg 8557a0395d0Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 8567a0395d0Smrg ac_prev=bindir ;; 8577a0395d0Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 8587a0395d0Smrg bindir=$ac_optarg ;; 8597a0395d0Smrg 8607a0395d0Smrg -build | --build | --buil | --bui | --bu) 8617a0395d0Smrg ac_prev=build_alias ;; 8627a0395d0Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 8637a0395d0Smrg build_alias=$ac_optarg ;; 8647a0395d0Smrg 8657a0395d0Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 8667a0395d0Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 8677a0395d0Smrg ac_prev=cache_file ;; 8687a0395d0Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 8697a0395d0Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 8707a0395d0Smrg cache_file=$ac_optarg ;; 8717a0395d0Smrg 8727a0395d0Smrg --config-cache | -C) 8737a0395d0Smrg cache_file=config.cache ;; 8747a0395d0Smrg 8757a0395d0Smrg -datadir | --datadir | --datadi | --datad) 8767a0395d0Smrg ac_prev=datadir ;; 8777a0395d0Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 8787a0395d0Smrg datadir=$ac_optarg ;; 8797a0395d0Smrg 8807a0395d0Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 8817a0395d0Smrg | --dataroo | --dataro | --datar) 8827a0395d0Smrg ac_prev=datarootdir ;; 8837a0395d0Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8847a0395d0Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8857a0395d0Smrg datarootdir=$ac_optarg ;; 8867a0395d0Smrg 8877a0395d0Smrg -disable-* | --disable-*) 8887366012aSmrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 8897a0395d0Smrg # Reject names that are not valid shell variable names. 8907366012aSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8917366012aSmrg { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 8927a0395d0Smrg { (exit 1); exit 1; }; } 8937366012aSmrg ac_useropt_orig=$ac_useropt 8947366012aSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8957366012aSmrg case $ac_user_opts in 8967366012aSmrg *" 8977366012aSmrg"enable_$ac_useropt" 8987366012aSmrg"*) ;; 8997366012aSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 9007366012aSmrg ac_unrecognized_sep=', ';; 9017366012aSmrg esac 9027366012aSmrg eval enable_$ac_useropt=no ;; 9037a0395d0Smrg 9047a0395d0Smrg -docdir | --docdir | --docdi | --doc | --do) 9057a0395d0Smrg ac_prev=docdir ;; 9067a0395d0Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 9077a0395d0Smrg docdir=$ac_optarg ;; 9087a0395d0Smrg 9097a0395d0Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 9107a0395d0Smrg ac_prev=dvidir ;; 9117a0395d0Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 9127a0395d0Smrg dvidir=$ac_optarg ;; 9137a0395d0Smrg 9147a0395d0Smrg -enable-* | --enable-*) 9157366012aSmrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 9167a0395d0Smrg # Reject names that are not valid shell variable names. 9177366012aSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 9187366012aSmrg { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 9197a0395d0Smrg { (exit 1); exit 1; }; } 9207366012aSmrg ac_useropt_orig=$ac_useropt 9217366012aSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 9227366012aSmrg case $ac_user_opts in 9237366012aSmrg *" 9247366012aSmrg"enable_$ac_useropt" 9257366012aSmrg"*) ;; 9267366012aSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 9277366012aSmrg ac_unrecognized_sep=', ';; 9287366012aSmrg esac 9297366012aSmrg eval enable_$ac_useropt=\$ac_optarg ;; 9307a0395d0Smrg 9317a0395d0Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 9327a0395d0Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 9337a0395d0Smrg | --exec | --exe | --ex) 9347a0395d0Smrg ac_prev=exec_prefix ;; 9357a0395d0Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 9367a0395d0Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 9377a0395d0Smrg | --exec=* | --exe=* | --ex=*) 9387a0395d0Smrg exec_prefix=$ac_optarg ;; 9397a0395d0Smrg 9407a0395d0Smrg -gas | --gas | --ga | --g) 9417a0395d0Smrg # Obsolete; use --with-gas. 9427a0395d0Smrg with_gas=yes ;; 9437a0395d0Smrg 9447a0395d0Smrg -help | --help | --hel | --he | -h) 9457a0395d0Smrg ac_init_help=long ;; 9467a0395d0Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 9477a0395d0Smrg ac_init_help=recursive ;; 9487a0395d0Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 9497a0395d0Smrg ac_init_help=short ;; 9507a0395d0Smrg 9517a0395d0Smrg -host | --host | --hos | --ho) 9527a0395d0Smrg ac_prev=host_alias ;; 9537a0395d0Smrg -host=* | --host=* | --hos=* | --ho=*) 9547a0395d0Smrg host_alias=$ac_optarg ;; 9557a0395d0Smrg 9567a0395d0Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 9577a0395d0Smrg ac_prev=htmldir ;; 9587a0395d0Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 9597a0395d0Smrg | --ht=*) 9607a0395d0Smrg htmldir=$ac_optarg ;; 9617a0395d0Smrg 9627a0395d0Smrg -includedir | --includedir | --includedi | --included | --include \ 9637a0395d0Smrg | --includ | --inclu | --incl | --inc) 9647a0395d0Smrg ac_prev=includedir ;; 9657a0395d0Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 9667a0395d0Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 9677a0395d0Smrg includedir=$ac_optarg ;; 9687a0395d0Smrg 9697a0395d0Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 9707a0395d0Smrg ac_prev=infodir ;; 9717a0395d0Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 9727a0395d0Smrg infodir=$ac_optarg ;; 9737a0395d0Smrg 9747a0395d0Smrg -libdir | --libdir | --libdi | --libd) 9757a0395d0Smrg ac_prev=libdir ;; 9767a0395d0Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 9777a0395d0Smrg libdir=$ac_optarg ;; 9787a0395d0Smrg 9797a0395d0Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 9807a0395d0Smrg | --libexe | --libex | --libe) 9817a0395d0Smrg ac_prev=libexecdir ;; 9827a0395d0Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 9837a0395d0Smrg | --libexe=* | --libex=* | --libe=*) 9847a0395d0Smrg libexecdir=$ac_optarg ;; 9857a0395d0Smrg 9867a0395d0Smrg -localedir | --localedir | --localedi | --localed | --locale) 9877a0395d0Smrg ac_prev=localedir ;; 9887a0395d0Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9897a0395d0Smrg localedir=$ac_optarg ;; 9907a0395d0Smrg 9917a0395d0Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 9927a0395d0Smrg | --localstate | --localstat | --localsta | --localst | --locals) 9937a0395d0Smrg ac_prev=localstatedir ;; 9947a0395d0Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9957a0395d0Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 9967a0395d0Smrg localstatedir=$ac_optarg ;; 9977a0395d0Smrg 9987a0395d0Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 9997a0395d0Smrg ac_prev=mandir ;; 10007a0395d0Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 10017a0395d0Smrg mandir=$ac_optarg ;; 10027a0395d0Smrg 10037a0395d0Smrg -nfp | --nfp | --nf) 10047a0395d0Smrg # Obsolete; use --without-fp. 10057a0395d0Smrg with_fp=no ;; 10067a0395d0Smrg 10077a0395d0Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 10087a0395d0Smrg | --no-cr | --no-c | -n) 10097a0395d0Smrg no_create=yes ;; 10107a0395d0Smrg 10117a0395d0Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 10127a0395d0Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 10137a0395d0Smrg no_recursion=yes ;; 10147a0395d0Smrg 10157a0395d0Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 10167a0395d0Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 10177a0395d0Smrg | --oldin | --oldi | --old | --ol | --o) 10187a0395d0Smrg ac_prev=oldincludedir ;; 10197a0395d0Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 10207a0395d0Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 10217a0395d0Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 10227a0395d0Smrg oldincludedir=$ac_optarg ;; 10237a0395d0Smrg 10247a0395d0Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 10257a0395d0Smrg ac_prev=prefix ;; 10267a0395d0Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 10277a0395d0Smrg prefix=$ac_optarg ;; 10287a0395d0Smrg 10297a0395d0Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 10307a0395d0Smrg | --program-pre | --program-pr | --program-p) 10317a0395d0Smrg ac_prev=program_prefix ;; 10327a0395d0Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 10337a0395d0Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 10347a0395d0Smrg program_prefix=$ac_optarg ;; 10357a0395d0Smrg 10367a0395d0Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 10377a0395d0Smrg | --program-suf | --program-su | --program-s) 10387a0395d0Smrg ac_prev=program_suffix ;; 10397a0395d0Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 10407a0395d0Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 10417a0395d0Smrg program_suffix=$ac_optarg ;; 10427a0395d0Smrg 10437a0395d0Smrg -program-transform-name | --program-transform-name \ 10447a0395d0Smrg | --program-transform-nam | --program-transform-na \ 10457a0395d0Smrg | --program-transform-n | --program-transform- \ 10467a0395d0Smrg | --program-transform | --program-transfor \ 10477a0395d0Smrg | --program-transfo | --program-transf \ 10487a0395d0Smrg | --program-trans | --program-tran \ 10497a0395d0Smrg | --progr-tra | --program-tr | --program-t) 10507a0395d0Smrg ac_prev=program_transform_name ;; 10517a0395d0Smrg -program-transform-name=* | --program-transform-name=* \ 10527a0395d0Smrg | --program-transform-nam=* | --program-transform-na=* \ 10537a0395d0Smrg | --program-transform-n=* | --program-transform-=* \ 10547a0395d0Smrg | --program-transform=* | --program-transfor=* \ 10557a0395d0Smrg | --program-transfo=* | --program-transf=* \ 10567a0395d0Smrg | --program-trans=* | --program-tran=* \ 10577a0395d0Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 10587a0395d0Smrg program_transform_name=$ac_optarg ;; 10597a0395d0Smrg 10607a0395d0Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 10617a0395d0Smrg ac_prev=pdfdir ;; 10627a0395d0Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 10637a0395d0Smrg pdfdir=$ac_optarg ;; 10647a0395d0Smrg 10657a0395d0Smrg -psdir | --psdir | --psdi | --psd | --ps) 10667a0395d0Smrg ac_prev=psdir ;; 10677a0395d0Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10687a0395d0Smrg psdir=$ac_optarg ;; 10697a0395d0Smrg 10707a0395d0Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10717a0395d0Smrg | -silent | --silent | --silen | --sile | --sil) 10727a0395d0Smrg silent=yes ;; 10737a0395d0Smrg 10747a0395d0Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 10757a0395d0Smrg ac_prev=sbindir ;; 10767a0395d0Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 10777a0395d0Smrg | --sbi=* | --sb=*) 10787a0395d0Smrg sbindir=$ac_optarg ;; 10797a0395d0Smrg 10807a0395d0Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 10817a0395d0Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 10827a0395d0Smrg | --sharedst | --shareds | --shared | --share | --shar \ 10837a0395d0Smrg | --sha | --sh) 10847a0395d0Smrg ac_prev=sharedstatedir ;; 10857a0395d0Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 10867a0395d0Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 10877a0395d0Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 10887a0395d0Smrg | --sha=* | --sh=*) 10897a0395d0Smrg sharedstatedir=$ac_optarg ;; 10907a0395d0Smrg 10917a0395d0Smrg -site | --site | --sit) 10927a0395d0Smrg ac_prev=site ;; 10937a0395d0Smrg -site=* | --site=* | --sit=*) 10947a0395d0Smrg site=$ac_optarg ;; 10957a0395d0Smrg 10967a0395d0Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 10977a0395d0Smrg ac_prev=srcdir ;; 10987a0395d0Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 10997a0395d0Smrg srcdir=$ac_optarg ;; 11007a0395d0Smrg 11017a0395d0Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 11027a0395d0Smrg | --syscon | --sysco | --sysc | --sys | --sy) 11037a0395d0Smrg ac_prev=sysconfdir ;; 11047a0395d0Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 11057a0395d0Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 11067a0395d0Smrg sysconfdir=$ac_optarg ;; 11077a0395d0Smrg 11087a0395d0Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 11097a0395d0Smrg ac_prev=target_alias ;; 11107a0395d0Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 11117a0395d0Smrg target_alias=$ac_optarg ;; 11127a0395d0Smrg 11137a0395d0Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 11147a0395d0Smrg verbose=yes ;; 11157a0395d0Smrg 11167a0395d0Smrg -version | --version | --versio | --versi | --vers | -V) 11177a0395d0Smrg ac_init_version=: ;; 11187a0395d0Smrg 11197a0395d0Smrg -with-* | --with-*) 11207366012aSmrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 11217a0395d0Smrg # Reject names that are not valid shell variable names. 11227366012aSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 11237366012aSmrg { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 11247a0395d0Smrg { (exit 1); exit 1; }; } 11257366012aSmrg ac_useropt_orig=$ac_useropt 11267366012aSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 11277366012aSmrg case $ac_user_opts in 11287366012aSmrg *" 11297366012aSmrg"with_$ac_useropt" 11307366012aSmrg"*) ;; 11317366012aSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 11327366012aSmrg ac_unrecognized_sep=', ';; 11337366012aSmrg esac 11347366012aSmrg eval with_$ac_useropt=\$ac_optarg ;; 11357a0395d0Smrg 11367a0395d0Smrg -without-* | --without-*) 11377366012aSmrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 11387a0395d0Smrg # Reject names that are not valid shell variable names. 11397366012aSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 11407366012aSmrg { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 11417a0395d0Smrg { (exit 1); exit 1; }; } 11427366012aSmrg ac_useropt_orig=$ac_useropt 11437366012aSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 11447366012aSmrg case $ac_user_opts in 11457366012aSmrg *" 11467366012aSmrg"with_$ac_useropt" 11477366012aSmrg"*) ;; 11487366012aSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 11497366012aSmrg ac_unrecognized_sep=', ';; 11507366012aSmrg esac 11517366012aSmrg eval with_$ac_useropt=no ;; 11527a0395d0Smrg 11537a0395d0Smrg --x) 11547a0395d0Smrg # Obsolete; use --with-x. 11557a0395d0Smrg with_x=yes ;; 11567a0395d0Smrg 11577a0395d0Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 11587a0395d0Smrg | --x-incl | --x-inc | --x-in | --x-i) 11597a0395d0Smrg ac_prev=x_includes ;; 11607a0395d0Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 11617a0395d0Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 11627a0395d0Smrg x_includes=$ac_optarg ;; 11637a0395d0Smrg 11647a0395d0Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 11657a0395d0Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 11667a0395d0Smrg ac_prev=x_libraries ;; 11677a0395d0Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 11687a0395d0Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 11697a0395d0Smrg x_libraries=$ac_optarg ;; 11707a0395d0Smrg 11717366012aSmrg -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 11727a0395d0SmrgTry \`$0 --help' for more information." >&2 11737a0395d0Smrg { (exit 1); exit 1; }; } 11747a0395d0Smrg ;; 11757a0395d0Smrg 11767a0395d0Smrg *=*) 11777a0395d0Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 11787a0395d0Smrg # Reject names that are not valid shell variable names. 11797a0395d0Smrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 11807366012aSmrg { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 11817a0395d0Smrg { (exit 1); exit 1; }; } 11827a0395d0Smrg eval $ac_envvar=\$ac_optarg 11837a0395d0Smrg export $ac_envvar ;; 11847a0395d0Smrg 11857a0395d0Smrg *) 11867a0395d0Smrg # FIXME: should be removed in autoconf 3.0. 11877366012aSmrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 11887a0395d0Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11897366012aSmrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 11907a0395d0Smrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 11917a0395d0Smrg ;; 11927a0395d0Smrg 11937a0395d0Smrg esac 11947a0395d0Smrgdone 11957a0395d0Smrg 11967a0395d0Smrgif test -n "$ac_prev"; then 11977a0395d0Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11987366012aSmrg { $as_echo "$as_me: error: missing argument to $ac_option" >&2 11997a0395d0Smrg { (exit 1); exit 1; }; } 12007a0395d0Smrgfi 12017a0395d0Smrg 12027366012aSmrgif test -n "$ac_unrecognized_opts"; then 12037366012aSmrg case $enable_option_checking in 12047366012aSmrg no) ;; 12057366012aSmrg fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 12067366012aSmrg { (exit 1); exit 1; }; } ;; 12077366012aSmrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 12087366012aSmrg esac 12097366012aSmrgfi 12107366012aSmrg 12117366012aSmrg# Check all directory arguments for consistency. 12127a0395d0Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 12137a0395d0Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 12147a0395d0Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 12157a0395d0Smrg libdir localedir mandir 12167a0395d0Smrgdo 12177a0395d0Smrg eval ac_val=\$$ac_var 12187366012aSmrg # Remove trailing slashes. 12197366012aSmrg case $ac_val in 12207366012aSmrg */ ) 12217366012aSmrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 12227366012aSmrg eval $ac_var=\$ac_val;; 12237366012aSmrg esac 12247366012aSmrg # Be sure to have absolute directory names. 12257a0395d0Smrg case $ac_val in 12267a0395d0Smrg [\\/$]* | ?:[\\/]* ) continue;; 12277a0395d0Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 12287a0395d0Smrg esac 12297366012aSmrg { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 12307a0395d0Smrg { (exit 1); exit 1; }; } 12317a0395d0Smrgdone 12327a0395d0Smrg 12337a0395d0Smrg# There might be people who depend on the old broken behavior: `$host' 12347a0395d0Smrg# used to hold the argument of --host etc. 12357a0395d0Smrg# FIXME: To remove some day. 12367a0395d0Smrgbuild=$build_alias 12377a0395d0Smrghost=$host_alias 12387a0395d0Smrgtarget=$target_alias 12397a0395d0Smrg 12407a0395d0Smrg# FIXME: To remove some day. 12417a0395d0Smrgif test "x$host_alias" != x; then 12427a0395d0Smrg if test "x$build_alias" = x; then 12437a0395d0Smrg cross_compiling=maybe 12447366012aSmrg $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 12457a0395d0Smrg If a cross compiler is detected then cross compile mode will be used." >&2 12467a0395d0Smrg elif test "x$build_alias" != "x$host_alias"; then 12477a0395d0Smrg cross_compiling=yes 12487a0395d0Smrg fi 12497a0395d0Smrgfi 12507a0395d0Smrg 12517a0395d0Smrgac_tool_prefix= 12527a0395d0Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 12537a0395d0Smrg 12547a0395d0Smrgtest "$silent" = yes && exec 6>/dev/null 12557a0395d0Smrg 12567a0395d0Smrg 12577a0395d0Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 12587a0395d0Smrgac_ls_di=`ls -di .` && 12597a0395d0Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 12607366012aSmrg { $as_echo "$as_me: error: working directory cannot be determined" >&2 12617a0395d0Smrg { (exit 1); exit 1; }; } 12627a0395d0Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 12637366012aSmrg { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 12647a0395d0Smrg { (exit 1); exit 1; }; } 12657a0395d0Smrg 12667a0395d0Smrg 12677a0395d0Smrg# Find the source files, if location was not specified. 12687a0395d0Smrgif test -z "$srcdir"; then 12697a0395d0Smrg ac_srcdir_defaulted=yes 12707a0395d0Smrg # Try the directory containing this script, then the parent directory. 12717366012aSmrg ac_confdir=`$as_dirname -- "$as_myself" || 12727366012aSmrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12737366012aSmrg X"$as_myself" : 'X\(//\)[^/]' \| \ 12747366012aSmrg X"$as_myself" : 'X\(//\)$' \| \ 12757366012aSmrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 12767366012aSmrg$as_echo X"$as_myself" | 12777a0395d0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12787a0395d0Smrg s//\1/ 12797a0395d0Smrg q 12807a0395d0Smrg } 12817a0395d0Smrg /^X\(\/\/\)[^/].*/{ 12827a0395d0Smrg s//\1/ 12837a0395d0Smrg q 12847a0395d0Smrg } 12857a0395d0Smrg /^X\(\/\/\)$/{ 12867a0395d0Smrg s//\1/ 12877a0395d0Smrg q 12887a0395d0Smrg } 12897a0395d0Smrg /^X\(\/\).*/{ 12907a0395d0Smrg s//\1/ 12917a0395d0Smrg q 12927a0395d0Smrg } 12937a0395d0Smrg s/.*/./; q'` 12947a0395d0Smrg srcdir=$ac_confdir 12957a0395d0Smrg if test ! -r "$srcdir/$ac_unique_file"; then 12967a0395d0Smrg srcdir=.. 12977a0395d0Smrg fi 12987a0395d0Smrgelse 12997a0395d0Smrg ac_srcdir_defaulted=no 13007a0395d0Smrgfi 13017a0395d0Smrgif test ! -r "$srcdir/$ac_unique_file"; then 13027a0395d0Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 13037366012aSmrg { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 13047a0395d0Smrg { (exit 1); exit 1; }; } 13057a0395d0Smrgfi 13067a0395d0Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 13077a0395d0Smrgac_abs_confdir=`( 13087366012aSmrg cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 13097a0395d0Smrg { (exit 1); exit 1; }; } 13107a0395d0Smrg pwd)` 13117a0395d0Smrg# When building in place, set srcdir=. 13127a0395d0Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 13137a0395d0Smrg srcdir=. 13147a0395d0Smrgfi 13157a0395d0Smrg# Remove unnecessary trailing slashes from srcdir. 13167a0395d0Smrg# Double slashes in file names in object file debugging info 13177a0395d0Smrg# mess up M-x gdb in Emacs. 13187a0395d0Smrgcase $srcdir in 13197a0395d0Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 13207a0395d0Smrgesac 13217a0395d0Smrgfor ac_var in $ac_precious_vars; do 13227a0395d0Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 13237a0395d0Smrg eval ac_env_${ac_var}_value=\$${ac_var} 13247a0395d0Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 13257a0395d0Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 13267a0395d0Smrgdone 13277a0395d0Smrg 13287a0395d0Smrg# 13297a0395d0Smrg# Report the --help message. 13307a0395d0Smrg# 13317a0395d0Smrgif test "$ac_init_help" = "long"; then 13327a0395d0Smrg # Omit some internal or obsolete options to make the list less imposing. 13337a0395d0Smrg # This message is too long to be a string in the A/UX 3.1 sh. 13347a0395d0Smrg cat <<_ACEOF 13357366012aSmrg\`configure' configures xauth 1.0.4 to adapt to many kinds of systems. 13367a0395d0Smrg 13377a0395d0SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 13387a0395d0Smrg 13397a0395d0SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 13407a0395d0SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 13417a0395d0Smrg 13427a0395d0SmrgDefaults for the options are specified in brackets. 13437a0395d0Smrg 13447a0395d0SmrgConfiguration: 13457a0395d0Smrg -h, --help display this help and exit 13467a0395d0Smrg --help=short display options specific to this package 13477a0395d0Smrg --help=recursive display the short help of all the included packages 13487a0395d0Smrg -V, --version display version information and exit 13497a0395d0Smrg -q, --quiet, --silent do not print \`checking...' messages 13507a0395d0Smrg --cache-file=FILE cache test results in FILE [disabled] 13517a0395d0Smrg -C, --config-cache alias for \`--cache-file=config.cache' 13527a0395d0Smrg -n, --no-create do not create output files 13537a0395d0Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 13547a0395d0Smrg 13557a0395d0SmrgInstallation directories: 13567a0395d0Smrg --prefix=PREFIX install architecture-independent files in PREFIX 13577366012aSmrg [$ac_default_prefix] 13587a0395d0Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 13597366012aSmrg [PREFIX] 13607a0395d0Smrg 13617a0395d0SmrgBy default, \`make install' will install all the files in 13627a0395d0Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 13637a0395d0Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 13647a0395d0Smrgfor instance \`--prefix=\$HOME'. 13657a0395d0Smrg 13667a0395d0SmrgFor better control, use the options below. 13677a0395d0Smrg 13687a0395d0SmrgFine tuning of the installation directories: 13697366012aSmrg --bindir=DIR user executables [EPREFIX/bin] 13707366012aSmrg --sbindir=DIR system admin executables [EPREFIX/sbin] 13717366012aSmrg --libexecdir=DIR program executables [EPREFIX/libexec] 13727366012aSmrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 13737366012aSmrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 13747366012aSmrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 13757366012aSmrg --libdir=DIR object code libraries [EPREFIX/lib] 13767366012aSmrg --includedir=DIR C header files [PREFIX/include] 13777366012aSmrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 13787366012aSmrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 13797366012aSmrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 13807366012aSmrg --infodir=DIR info documentation [DATAROOTDIR/info] 13817366012aSmrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 13827366012aSmrg --mandir=DIR man documentation [DATAROOTDIR/man] 13837366012aSmrg --docdir=DIR documentation root [DATAROOTDIR/doc/xauth] 13847366012aSmrg --htmldir=DIR html documentation [DOCDIR] 13857366012aSmrg --dvidir=DIR dvi documentation [DOCDIR] 13867366012aSmrg --pdfdir=DIR pdf documentation [DOCDIR] 13877366012aSmrg --psdir=DIR ps documentation [DOCDIR] 13887a0395d0Smrg_ACEOF 13897a0395d0Smrg 13907a0395d0Smrg cat <<\_ACEOF 13917a0395d0Smrg 13927a0395d0SmrgProgram names: 13937a0395d0Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 13947a0395d0Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 13957a0395d0Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 13967a0395d0Smrg 13977a0395d0SmrgSystem types: 13987a0395d0Smrg --build=BUILD configure for building on BUILD [guessed] 13997a0395d0Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 14007a0395d0Smrg_ACEOF 14017a0395d0Smrgfi 14027a0395d0Smrg 14037a0395d0Smrgif test -n "$ac_init_help"; then 14047a0395d0Smrg case $ac_init_help in 14057366012aSmrg short | recursive ) echo "Configuration of xauth 1.0.4:";; 14067a0395d0Smrg esac 14077a0395d0Smrg cat <<\_ACEOF 14087a0395d0Smrg 14097a0395d0SmrgOptional Features: 14107366012aSmrg --disable-option-checking ignore unrecognized --enable/--with options 14117a0395d0Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 14127a0395d0Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 14137a0395d0Smrg --enable-maintainer-mode enable make rules and dependencies not useful 14147a0395d0Smrg (and sometimes confusing) to the casual installer 14157a0395d0Smrg --disable-dependency-tracking speeds up one-time build 14167a0395d0Smrg --enable-dependency-tracking do not reject slow dependency extractors 14177366012aSmrg --enable-silent-rules less verbose build output (undo: `make V=1') 14187366012aSmrg --disable-silent-rules verbose build output (undo: `make V=0') 14197366012aSmrg --enable-strict-compilation 14207366012aSmrg Enable all warnings from compiler and make them 14217366012aSmrg errors (default: disabled) 14227a0395d0Smrg --enable-unix-transport Enable UNIX domain socket transport 14237a0395d0Smrg --enable-tcp-transport Enable TCP socket transport 14247366012aSmrg --enable-ipv6 Enable IPv6 support 14257a0395d0Smrg --enable-local-transport 14267a0395d0Smrg Enable os-specific local transport 14277a0395d0Smrg 14287a0395d0SmrgOptional Packages: 14297a0395d0Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 14307a0395d0Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 14317a0395d0Smrg --with-release-version=STRING 14327a0395d0Smrg Use release version string in package name 14337366012aSmrg --with-lint Use a lint-style source code checker (default: 14347366012aSmrg disabled) 14357a0395d0Smrg 14367a0395d0SmrgSome influential environment variables: 14377a0395d0Smrg CC C compiler command 14387a0395d0Smrg CFLAGS C compiler flags 14397a0395d0Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 14407a0395d0Smrg nonstandard directory <lib dir> 14417a0395d0Smrg LIBS libraries to pass to the linker, e.g. -l<library> 14427a0395d0Smrg CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 14437a0395d0Smrg you have headers in a nonstandard directory <include dir> 14447a0395d0Smrg CPP C preprocessor 14457a0395d0Smrg PKG_CONFIG path to pkg-config utility 14467a0395d0Smrg XAUTH_CFLAGS 14477a0395d0Smrg C compiler flags for XAUTH, overriding pkg-config 14487a0395d0Smrg XAUTH_LIBS linker flags for XAUTH, overriding pkg-config 14497a0395d0Smrg 14507a0395d0SmrgUse these variables to override the choices made by `configure' or to help 14517a0395d0Smrgit to find libraries and programs with nonstandard names/locations. 14527a0395d0Smrg 14537a0395d0SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 14547a0395d0Smrg_ACEOF 14557a0395d0Smrgac_status=$? 14567a0395d0Smrgfi 14577a0395d0Smrg 14587a0395d0Smrgif test "$ac_init_help" = "recursive"; then 14597a0395d0Smrg # If there are subdirs, report their specific --help. 14607a0395d0Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 14617366012aSmrg test -d "$ac_dir" || 14627366012aSmrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 14637366012aSmrg continue 14647a0395d0Smrg ac_builddir=. 14657a0395d0Smrg 14667a0395d0Smrgcase "$ac_dir" in 14677a0395d0Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14687a0395d0Smrg*) 14697366012aSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14707a0395d0Smrg # A ".." for each directory in $ac_dir_suffix. 14717366012aSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14727a0395d0Smrg case $ac_top_builddir_sub in 14737a0395d0Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14747a0395d0Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14757a0395d0Smrg esac ;; 14767a0395d0Smrgesac 14777a0395d0Smrgac_abs_top_builddir=$ac_pwd 14787a0395d0Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 14797a0395d0Smrg# for backward compatibility: 14807a0395d0Smrgac_top_builddir=$ac_top_build_prefix 14817a0395d0Smrg 14827a0395d0Smrgcase $srcdir in 14837a0395d0Smrg .) # We are building in place. 14847a0395d0Smrg ac_srcdir=. 14857a0395d0Smrg ac_top_srcdir=$ac_top_builddir_sub 14867a0395d0Smrg ac_abs_top_srcdir=$ac_pwd ;; 14877a0395d0Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 14887a0395d0Smrg ac_srcdir=$srcdir$ac_dir_suffix; 14897a0395d0Smrg ac_top_srcdir=$srcdir 14907a0395d0Smrg ac_abs_top_srcdir=$srcdir ;; 14917a0395d0Smrg *) # Relative name. 14927a0395d0Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14937a0395d0Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 14947a0395d0Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14957a0395d0Smrgesac 14967a0395d0Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14977a0395d0Smrg 14987a0395d0Smrg cd "$ac_dir" || { ac_status=$?; continue; } 14997a0395d0Smrg # Check for guested configure. 15007a0395d0Smrg if test -f "$ac_srcdir/configure.gnu"; then 15017a0395d0Smrg echo && 15027a0395d0Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 15037a0395d0Smrg elif test -f "$ac_srcdir/configure"; then 15047a0395d0Smrg echo && 15057a0395d0Smrg $SHELL "$ac_srcdir/configure" --help=recursive 15067a0395d0Smrg else 15077366012aSmrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 15087a0395d0Smrg fi || ac_status=$? 15097a0395d0Smrg cd "$ac_pwd" || { ac_status=$?; break; } 15107a0395d0Smrg done 15117a0395d0Smrgfi 15127a0395d0Smrg 15137a0395d0Smrgtest -n "$ac_init_help" && exit $ac_status 15147a0395d0Smrgif $ac_init_version; then 15157a0395d0Smrg cat <<\_ACEOF 15167366012aSmrgxauth configure 1.0.4 15177366012aSmrggenerated by GNU Autoconf 2.63 15187a0395d0Smrg 15197a0395d0SmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 15207366012aSmrg2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 15217a0395d0SmrgThis configure script is free software; the Free Software Foundation 15227a0395d0Smrggives unlimited permission to copy, distribute and modify it. 15237a0395d0Smrg_ACEOF 15247a0395d0Smrg exit 15257a0395d0Smrgfi 15267a0395d0Smrgcat >config.log <<_ACEOF 15277a0395d0SmrgThis file contains any messages produced by compilers while 15287a0395d0Smrgrunning configure, to aid debugging if configure makes a mistake. 15297a0395d0Smrg 15307366012aSmrgIt was created by xauth $as_me 1.0.4, which was 15317366012aSmrggenerated by GNU Autoconf 2.63. Invocation command line was 15327a0395d0Smrg 15337a0395d0Smrg $ $0 $@ 15347a0395d0Smrg 15357a0395d0Smrg_ACEOF 15367a0395d0Smrgexec 5>>config.log 15377a0395d0Smrg{ 15387a0395d0Smrgcat <<_ASUNAME 15397a0395d0Smrg## --------- ## 15407a0395d0Smrg## Platform. ## 15417a0395d0Smrg## --------- ## 15427a0395d0Smrg 15437a0395d0Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 15447a0395d0Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 15457a0395d0Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 15467a0395d0Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 15477a0395d0Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 15487a0395d0Smrg 15497a0395d0Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 15507a0395d0Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 15517a0395d0Smrg 15527a0395d0Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 15537a0395d0Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 15547a0395d0Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 15557a0395d0Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 15567a0395d0Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 15577a0395d0Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 15587a0395d0Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 15597a0395d0Smrg 15607a0395d0Smrg_ASUNAME 15617a0395d0Smrg 15627a0395d0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15637a0395d0Smrgfor as_dir in $PATH 15647a0395d0Smrgdo 15657a0395d0Smrg IFS=$as_save_IFS 15667a0395d0Smrg test -z "$as_dir" && as_dir=. 15677366012aSmrg $as_echo "PATH: $as_dir" 15687a0395d0Smrgdone 15697a0395d0SmrgIFS=$as_save_IFS 15707a0395d0Smrg 15717a0395d0Smrg} >&5 15727a0395d0Smrg 15737a0395d0Smrgcat >&5 <<_ACEOF 15747a0395d0Smrg 15757a0395d0Smrg 15767a0395d0Smrg## ----------- ## 15777a0395d0Smrg## Core tests. ## 15787a0395d0Smrg## ----------- ## 15797a0395d0Smrg 15807a0395d0Smrg_ACEOF 15817a0395d0Smrg 15827a0395d0Smrg 15837a0395d0Smrg# Keep a trace of the command line. 15847a0395d0Smrg# Strip out --no-create and --no-recursion so they do not pile up. 15857a0395d0Smrg# Strip out --silent because we don't want to record it for future runs. 15867a0395d0Smrg# Also quote any args containing shell meta-characters. 15877a0395d0Smrg# Make two passes to allow for proper duplicate-argument suppression. 15887a0395d0Smrgac_configure_args= 15897a0395d0Smrgac_configure_args0= 15907a0395d0Smrgac_configure_args1= 15917a0395d0Smrgac_must_keep_next=false 15927a0395d0Smrgfor ac_pass in 1 2 15937a0395d0Smrgdo 15947a0395d0Smrg for ac_arg 15957a0395d0Smrg do 15967a0395d0Smrg case $ac_arg in 15977a0395d0Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 15987a0395d0Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 15997a0395d0Smrg | -silent | --silent | --silen | --sile | --sil) 16007a0395d0Smrg continue ;; 16017a0395d0Smrg *\'*) 16027366012aSmrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 16037a0395d0Smrg esac 16047a0395d0Smrg case $ac_pass in 16057a0395d0Smrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 16067a0395d0Smrg 2) 16077a0395d0Smrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 16087a0395d0Smrg if test $ac_must_keep_next = true; then 16097a0395d0Smrg ac_must_keep_next=false # Got value, back to normal. 16107a0395d0Smrg else 16117a0395d0Smrg case $ac_arg in 16127a0395d0Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 16137a0395d0Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 16147a0395d0Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 16157a0395d0Smrg | -with-* | --with-* | -without-* | --without-* | --x) 16167a0395d0Smrg case "$ac_configure_args0 " in 16177a0395d0Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 16187a0395d0Smrg esac 16197a0395d0Smrg ;; 16207a0395d0Smrg -* ) ac_must_keep_next=true ;; 16217a0395d0Smrg esac 16227a0395d0Smrg fi 16237a0395d0Smrg ac_configure_args="$ac_configure_args '$ac_arg'" 16247a0395d0Smrg ;; 16257a0395d0Smrg esac 16267a0395d0Smrg done 16277a0395d0Smrgdone 16287a0395d0Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 16297a0395d0Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 16307a0395d0Smrg 16317a0395d0Smrg# When interrupted or exit'd, cleanup temporary files, and complete 16327a0395d0Smrg# config.log. We remove comments because anyway the quotes in there 16337a0395d0Smrg# would cause problems or look ugly. 16347a0395d0Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 16357a0395d0Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 16367a0395d0Smrgtrap 'exit_status=$? 16377a0395d0Smrg # Save into config.log some information that might help in debugging. 16387a0395d0Smrg { 16397a0395d0Smrg echo 16407a0395d0Smrg 16417a0395d0Smrg cat <<\_ASBOX 16427a0395d0Smrg## ---------------- ## 16437a0395d0Smrg## Cache variables. ## 16447a0395d0Smrg## ---------------- ## 16457a0395d0Smrg_ASBOX 16467a0395d0Smrg echo 16477a0395d0Smrg # The following way of writing the cache mishandles newlines in values, 16487a0395d0Smrg( 16497a0395d0Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 16507a0395d0Smrg eval ac_val=\$$ac_var 16517a0395d0Smrg case $ac_val in #( 16527a0395d0Smrg *${as_nl}*) 16537a0395d0Smrg case $ac_var in #( 16547366012aSmrg *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 16557366012aSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16567a0395d0Smrg esac 16577a0395d0Smrg case $ac_var in #( 16587a0395d0Smrg _ | IFS | as_nl) ;; #( 16597366012aSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16607a0395d0Smrg *) $as_unset $ac_var ;; 16617a0395d0Smrg esac ;; 16627a0395d0Smrg esac 16637a0395d0Smrg done 16647a0395d0Smrg (set) 2>&1 | 16657a0395d0Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 16667a0395d0Smrg *${as_nl}ac_space=\ *) 16677a0395d0Smrg sed -n \ 16687a0395d0Smrg "s/'\''/'\''\\\\'\'''\''/g; 16697a0395d0Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 16707a0395d0Smrg ;; #( 16717a0395d0Smrg *) 16727a0395d0Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 16737a0395d0Smrg ;; 16747a0395d0Smrg esac | 16757a0395d0Smrg sort 16767a0395d0Smrg) 16777a0395d0Smrg echo 16787a0395d0Smrg 16797a0395d0Smrg cat <<\_ASBOX 16807a0395d0Smrg## ----------------- ## 16817a0395d0Smrg## Output variables. ## 16827a0395d0Smrg## ----------------- ## 16837a0395d0Smrg_ASBOX 16847a0395d0Smrg echo 16857a0395d0Smrg for ac_var in $ac_subst_vars 16867a0395d0Smrg do 16877a0395d0Smrg eval ac_val=\$$ac_var 16887a0395d0Smrg case $ac_val in 16897366012aSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 16907a0395d0Smrg esac 16917366012aSmrg $as_echo "$ac_var='\''$ac_val'\''" 16927a0395d0Smrg done | sort 16937a0395d0Smrg echo 16947a0395d0Smrg 16957a0395d0Smrg if test -n "$ac_subst_files"; then 16967a0395d0Smrg cat <<\_ASBOX 16977a0395d0Smrg## ------------------- ## 16987a0395d0Smrg## File substitutions. ## 16997a0395d0Smrg## ------------------- ## 17007a0395d0Smrg_ASBOX 17017a0395d0Smrg echo 17027a0395d0Smrg for ac_var in $ac_subst_files 17037a0395d0Smrg do 17047a0395d0Smrg eval ac_val=\$$ac_var 17057a0395d0Smrg case $ac_val in 17067366012aSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 17077a0395d0Smrg esac 17087366012aSmrg $as_echo "$ac_var='\''$ac_val'\''" 17097a0395d0Smrg done | sort 17107a0395d0Smrg echo 17117a0395d0Smrg fi 17127a0395d0Smrg 17137a0395d0Smrg if test -s confdefs.h; then 17147a0395d0Smrg cat <<\_ASBOX 17157a0395d0Smrg## ----------- ## 17167a0395d0Smrg## confdefs.h. ## 17177a0395d0Smrg## ----------- ## 17187a0395d0Smrg_ASBOX 17197a0395d0Smrg echo 17207a0395d0Smrg cat confdefs.h 17217a0395d0Smrg echo 17227a0395d0Smrg fi 17237a0395d0Smrg test "$ac_signal" != 0 && 17247366012aSmrg $as_echo "$as_me: caught signal $ac_signal" 17257366012aSmrg $as_echo "$as_me: exit $exit_status" 17267a0395d0Smrg } >&5 17277a0395d0Smrg rm -f core *.core core.conftest.* && 17287a0395d0Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 17297a0395d0Smrg exit $exit_status 17307a0395d0Smrg' 0 17317a0395d0Smrgfor ac_signal in 1 2 13 15; do 17327a0395d0Smrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 17337a0395d0Smrgdone 17347a0395d0Smrgac_signal=0 17357a0395d0Smrg 17367a0395d0Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 17377a0395d0Smrgrm -f -r conftest* confdefs.h 17387a0395d0Smrg 17397a0395d0Smrg# Predefined preprocessor variables. 17407a0395d0Smrg 17417a0395d0Smrgcat >>confdefs.h <<_ACEOF 17427a0395d0Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 17437a0395d0Smrg_ACEOF 17447a0395d0Smrg 17457a0395d0Smrg 17467a0395d0Smrgcat >>confdefs.h <<_ACEOF 17477a0395d0Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 17487a0395d0Smrg_ACEOF 17497a0395d0Smrg 17507a0395d0Smrg 17517a0395d0Smrgcat >>confdefs.h <<_ACEOF 17527a0395d0Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 17537a0395d0Smrg_ACEOF 17547a0395d0Smrg 17557a0395d0Smrg 17567a0395d0Smrgcat >>confdefs.h <<_ACEOF 17577a0395d0Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 17587a0395d0Smrg_ACEOF 17597a0395d0Smrg 17607a0395d0Smrg 17617a0395d0Smrgcat >>confdefs.h <<_ACEOF 17627a0395d0Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 17637a0395d0Smrg_ACEOF 17647a0395d0Smrg 17657a0395d0Smrg 17667a0395d0Smrg# Let the site file select an alternate cache file if it wants to. 17677366012aSmrg# Prefer an explicitly selected file to automatically selected ones. 17687366012aSmrgac_site_file1=NONE 17697366012aSmrgac_site_file2=NONE 17707a0395d0Smrgif test -n "$CONFIG_SITE"; then 17717366012aSmrg ac_site_file1=$CONFIG_SITE 17727a0395d0Smrgelif test "x$prefix" != xNONE; then 17737366012aSmrg ac_site_file1=$prefix/share/config.site 17747366012aSmrg ac_site_file2=$prefix/etc/config.site 17757a0395d0Smrgelse 17767366012aSmrg ac_site_file1=$ac_default_prefix/share/config.site 17777366012aSmrg ac_site_file2=$ac_default_prefix/etc/config.site 17787a0395d0Smrgfi 17797366012aSmrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 17807a0395d0Smrgdo 17817366012aSmrg test "x$ac_site_file" = xNONE && continue 17827a0395d0Smrg if test -r "$ac_site_file"; then 17837366012aSmrg { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 17847366012aSmrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 17857a0395d0Smrg sed 's/^/| /' "$ac_site_file" >&5 17867a0395d0Smrg . "$ac_site_file" 17877a0395d0Smrg fi 17887a0395d0Smrgdone 17897a0395d0Smrg 17907a0395d0Smrgif test -r "$cache_file"; then 17917a0395d0Smrg # Some versions of bash will fail to source /dev/null (special 17927a0395d0Smrg # files actually), so we avoid doing that. 17937a0395d0Smrg if test -f "$cache_file"; then 17947366012aSmrg { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 17957366012aSmrg$as_echo "$as_me: loading cache $cache_file" >&6;} 17967a0395d0Smrg case $cache_file in 17977a0395d0Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 17987a0395d0Smrg *) . "./$cache_file";; 17997a0395d0Smrg esac 18007a0395d0Smrg fi 18017a0395d0Smrgelse 18027366012aSmrg { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 18037366012aSmrg$as_echo "$as_me: creating cache $cache_file" >&6;} 18047a0395d0Smrg >$cache_file 18057a0395d0Smrgfi 18067a0395d0Smrg 18077a0395d0Smrg# Check that the precious variables saved in the cache have kept the same 18087a0395d0Smrg# value. 18097a0395d0Smrgac_cache_corrupted=false 18107a0395d0Smrgfor ac_var in $ac_precious_vars; do 18117a0395d0Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 18127a0395d0Smrg eval ac_new_set=\$ac_env_${ac_var}_set 18137a0395d0Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 18147a0395d0Smrg eval ac_new_val=\$ac_env_${ac_var}_value 18157a0395d0Smrg case $ac_old_set,$ac_new_set in 18167a0395d0Smrg set,) 18177366012aSmrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 18187366012aSmrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 18197a0395d0Smrg ac_cache_corrupted=: ;; 18207a0395d0Smrg ,set) 18217366012aSmrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 18227366012aSmrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 18237a0395d0Smrg ac_cache_corrupted=: ;; 18247a0395d0Smrg ,);; 18257a0395d0Smrg *) 18267a0395d0Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 18277366012aSmrg # differences in whitespace do not lead to failure. 18287366012aSmrg ac_old_val_w=`echo x $ac_old_val` 18297366012aSmrg ac_new_val_w=`echo x $ac_new_val` 18307366012aSmrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 18317366012aSmrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 18327366012aSmrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 18337366012aSmrg ac_cache_corrupted=: 18347366012aSmrg else 18357366012aSmrg { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 18367366012aSmrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 18377366012aSmrg eval $ac_var=\$ac_old_val 18387366012aSmrg fi 18397366012aSmrg { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 18407366012aSmrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 18417366012aSmrg { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 18427366012aSmrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 18437a0395d0Smrg fi;; 18447a0395d0Smrg esac 18457a0395d0Smrg # Pass precious variables to config.status. 18467a0395d0Smrg if test "$ac_new_set" = set; then 18477a0395d0Smrg case $ac_new_val in 18487366012aSmrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 18497a0395d0Smrg *) ac_arg=$ac_var=$ac_new_val ;; 18507a0395d0Smrg esac 18517a0395d0Smrg case " $ac_configure_args " in 18527a0395d0Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 18537a0395d0Smrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 18547a0395d0Smrg esac 18557a0395d0Smrg fi 18567a0395d0Smrgdone 18577a0395d0Smrgif $ac_cache_corrupted; then 18587366012aSmrg { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 18597366012aSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18607366012aSmrg { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 18617366012aSmrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 18627366012aSmrg { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 18637366012aSmrg$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 18647a0395d0Smrg { (exit 1); exit 1; }; } 18657a0395d0Smrgfi 18667a0395d0Smrg 18677a0395d0Smrg 18687a0395d0Smrg 18697a0395d0Smrg 18707a0395d0Smrg 18717a0395d0Smrg 18727a0395d0Smrg 18737a0395d0Smrg 18747a0395d0Smrg 18757a0395d0Smrg 18767a0395d0Smrg 18777a0395d0Smrg 18787a0395d0Smrg 18797a0395d0Smrg 18807a0395d0Smrg 18817a0395d0Smrg 18827a0395d0Smrg 18837a0395d0Smrg 18847a0395d0Smrg 18857a0395d0Smrg 18867a0395d0Smrg 18877a0395d0Smrg 18887a0395d0Smrg 18897a0395d0Smrg 18907a0395d0Smrg 18917a0395d0Smrgac_ext=c 18927a0395d0Smrgac_cpp='$CPP $CPPFLAGS' 18937a0395d0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 18947a0395d0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 18957a0395d0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 18967a0395d0Smrg 18977a0395d0Smrg 18987366012aSmrgam__api_version='1.11' 18997a0395d0Smrg 19007a0395d0Smrgac_aux_dir= 19017a0395d0Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 19027a0395d0Smrg if test -f "$ac_dir/install-sh"; then 19037a0395d0Smrg ac_aux_dir=$ac_dir 19047a0395d0Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 19057a0395d0Smrg break 19067a0395d0Smrg elif test -f "$ac_dir/install.sh"; then 19077a0395d0Smrg ac_aux_dir=$ac_dir 19087a0395d0Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 19097a0395d0Smrg break 19107a0395d0Smrg elif test -f "$ac_dir/shtool"; then 19117a0395d0Smrg ac_aux_dir=$ac_dir 19127a0395d0Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 19137a0395d0Smrg break 19147a0395d0Smrg fi 19157a0395d0Smrgdone 19167a0395d0Smrgif test -z "$ac_aux_dir"; then 19177366012aSmrg { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 19187366012aSmrg$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 19197a0395d0Smrg { (exit 1); exit 1; }; } 19207a0395d0Smrgfi 19217a0395d0Smrg 19227a0395d0Smrg# These three variables are undocumented and unsupported, 19237a0395d0Smrg# and are intended to be withdrawn in a future Autoconf release. 19247a0395d0Smrg# They can cause serious problems if a builder's source tree is in a directory 19257a0395d0Smrg# whose full name contains unusual characters. 19267a0395d0Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 19277a0395d0Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 19287a0395d0Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 19297a0395d0Smrg 19307a0395d0Smrg 19317a0395d0Smrg# Find a good install program. We prefer a C program (faster), 19327a0395d0Smrg# so one script is as good as another. But avoid the broken or 19337a0395d0Smrg# incompatible versions: 19347a0395d0Smrg# SysV /etc/install, /usr/sbin/install 19357a0395d0Smrg# SunOS /usr/etc/install 19367a0395d0Smrg# IRIX /sbin/install 19377a0395d0Smrg# AIX /bin/install 19387a0395d0Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 19397a0395d0Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 19407a0395d0Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 19417a0395d0Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 19427a0395d0Smrg# OS/2's system install, which has a completely different semantic 19437a0395d0Smrg# ./install, which can be erroneously created by make from ./install.sh. 19447366012aSmrg# Reject install programs that cannot install multiple files. 19457366012aSmrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 19467366012aSmrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 19477a0395d0Smrgif test -z "$INSTALL"; then 19487a0395d0Smrgif test "${ac_cv_path_install+set}" = set; then 19497366012aSmrg $as_echo_n "(cached) " >&6 19507a0395d0Smrgelse 19517a0395d0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19527a0395d0Smrgfor as_dir in $PATH 19537a0395d0Smrgdo 19547a0395d0Smrg IFS=$as_save_IFS 19557a0395d0Smrg test -z "$as_dir" && as_dir=. 19567a0395d0Smrg # Account for people who put trailing slashes in PATH elements. 19577a0395d0Smrgcase $as_dir/ in 19587a0395d0Smrg ./ | .// | /cC/* | \ 19597a0395d0Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 19607a0395d0Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 19617a0395d0Smrg /usr/ucb/* ) ;; 19627a0395d0Smrg *) 19637a0395d0Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 19647a0395d0Smrg # Don't use installbsd from OSF since it installs stuff as root 19657a0395d0Smrg # by default. 19667a0395d0Smrg for ac_prog in ginstall scoinst install; do 19677a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 19687a0395d0Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 19697a0395d0Smrg if test $ac_prog = install && 19707a0395d0Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 19717a0395d0Smrg # AIX install. It has an incompatible calling convention. 19727a0395d0Smrg : 19737a0395d0Smrg elif test $ac_prog = install && 19747a0395d0Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 19757a0395d0Smrg # program-specific install script used by HP pwplus--don't use. 19767a0395d0Smrg : 19777a0395d0Smrg else 19787366012aSmrg rm -rf conftest.one conftest.two conftest.dir 19797366012aSmrg echo one > conftest.one 19807366012aSmrg echo two > conftest.two 19817366012aSmrg mkdir conftest.dir 19827366012aSmrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 19837366012aSmrg test -s conftest.one && test -s conftest.two && 19847366012aSmrg test -s conftest.dir/conftest.one && 19857366012aSmrg test -s conftest.dir/conftest.two 19867366012aSmrg then 19877366012aSmrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 19887366012aSmrg break 3 19897366012aSmrg fi 19907a0395d0Smrg fi 19917a0395d0Smrg fi 19927a0395d0Smrg done 19937a0395d0Smrg done 19947a0395d0Smrg ;; 19957a0395d0Smrgesac 19967366012aSmrg 19977a0395d0Smrgdone 19987a0395d0SmrgIFS=$as_save_IFS 19997a0395d0Smrg 20007366012aSmrgrm -rf conftest.one conftest.two conftest.dir 20017a0395d0Smrg 20027a0395d0Smrgfi 20037a0395d0Smrg if test "${ac_cv_path_install+set}" = set; then 20047a0395d0Smrg INSTALL=$ac_cv_path_install 20057a0395d0Smrg else 20067a0395d0Smrg # As a last resort, use the slow shell script. Don't cache a 20077a0395d0Smrg # value for INSTALL within a source directory, because that will 20087a0395d0Smrg # break other packages using the cache if that directory is 20097a0395d0Smrg # removed, or if the value is a relative name. 20107a0395d0Smrg INSTALL=$ac_install_sh 20117a0395d0Smrg fi 20127a0395d0Smrgfi 20137366012aSmrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 20147366012aSmrg$as_echo "$INSTALL" >&6; } 20157a0395d0Smrg 20167a0395d0Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 20177a0395d0Smrg# It thinks the first close brace ends the variable substitution. 20187a0395d0Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 20197a0395d0Smrg 20207a0395d0Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 20217a0395d0Smrg 20227a0395d0Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 20237a0395d0Smrg 20247366012aSmrg{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 20257366012aSmrg$as_echo_n "checking whether build environment is sane... " >&6; } 20267a0395d0Smrg# Just in case 20277a0395d0Smrgsleep 1 20287a0395d0Smrgecho timestamp > conftest.file 20297366012aSmrg# Reject unsafe characters in $srcdir or the absolute working directory 20307366012aSmrg# name. Accept space and tab only in the latter. 20317366012aSmrgam_lf=' 20327366012aSmrg' 20337366012aSmrgcase `pwd` in 20347366012aSmrg *[\\\"\#\$\&\'\`$am_lf]*) 20357366012aSmrg { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 20367366012aSmrg$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} 20377366012aSmrg { (exit 1); exit 1; }; };; 20387366012aSmrgesac 20397366012aSmrgcase $srcdir in 20407366012aSmrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 20417366012aSmrg { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 20427366012aSmrg$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} 20437366012aSmrg { (exit 1); exit 1; }; };; 20447366012aSmrgesac 20457366012aSmrg 20467366012aSmrg# Do `set' in a subshell so we don't clobber the current shell's 20477366012aSmrg# arguments. Must try -L first in case configure is actually a 20487366012aSmrg# symlink; some systems play weird games with the mod time of symlinks 20497366012aSmrg# (eg FreeBSD returns the mod time of the symlink's containing 20507366012aSmrg# directory). 20517366012aSmrgif ( 20527366012aSmrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 20537a0395d0Smrg if test "$*" = "X"; then 20547a0395d0Smrg # -L didn't work. 20557366012aSmrg set X `ls -t "$srcdir/configure" conftest.file` 20567a0395d0Smrg fi 20577a0395d0Smrg rm -f conftest.file 20587a0395d0Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 20597a0395d0Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 20607a0395d0Smrg 20617a0395d0Smrg # If neither matched, then we have a broken ls. This can happen 20627a0395d0Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 20637a0395d0Smrg # broken ls alias from the environment. This has actually 20647a0395d0Smrg # happened. Such a system could not be considered "sane". 20657366012aSmrg { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 20667a0395d0Smrgalias in your environment" >&5 20677366012aSmrg$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 20687a0395d0Smrgalias in your environment" >&2;} 20697a0395d0Smrg { (exit 1); exit 1; }; } 20707a0395d0Smrg fi 20717a0395d0Smrg 20727a0395d0Smrg test "$2" = conftest.file 20737a0395d0Smrg ) 20747a0395d0Smrgthen 20757a0395d0Smrg # Ok. 20767a0395d0Smrg : 20777a0395d0Smrgelse 20787366012aSmrg { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 20797a0395d0SmrgCheck your system clock" >&5 20807366012aSmrg$as_echo "$as_me: error: newly created file is older than distributed files! 20817a0395d0SmrgCheck your system clock" >&2;} 20827a0395d0Smrg { (exit 1); exit 1; }; } 20837a0395d0Smrgfi 20847366012aSmrg{ $as_echo "$as_me:$LINENO: result: yes" >&5 20857366012aSmrg$as_echo "yes" >&6; } 20867a0395d0Smrgtest "$program_prefix" != NONE && 20877a0395d0Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 20887a0395d0Smrg# Use a double $ so make ignores it. 20897a0395d0Smrgtest "$program_suffix" != NONE && 20907a0395d0Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 20917366012aSmrg# Double any \ or $. 20927a0395d0Smrg# By default was `s,x,x', remove it if useless. 20937366012aSmrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 20947366012aSmrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 20957a0395d0Smrg 20967a0395d0Smrg# expand $ac_aux_dir to an absolute path 20977a0395d0Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 20987a0395d0Smrg 20997366012aSmrgif test x"${MISSING+set}" != xset; then 21007366012aSmrg case $am_aux_dir in 21017366012aSmrg *\ * | *\ *) 21027366012aSmrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 21037366012aSmrg *) 21047366012aSmrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 21057366012aSmrg esac 21067366012aSmrgfi 21077a0395d0Smrg# Use eval to expand $SHELL 21087a0395d0Smrgif eval "$MISSING --run true"; then 21097a0395d0Smrg am_missing_run="$MISSING --run " 21107a0395d0Smrgelse 21117a0395d0Smrg am_missing_run= 21127366012aSmrg { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 21137366012aSmrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 21147366012aSmrgfi 21157366012aSmrg 21167366012aSmrgif test x"${install_sh}" != xset; then 21177366012aSmrg case $am_aux_dir in 21187366012aSmrg *\ * | *\ *) 21197366012aSmrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 21207366012aSmrg *) 21217366012aSmrg install_sh="\${SHELL} $am_aux_dir/install-sh" 21227366012aSmrg esac 21237366012aSmrgfi 21247366012aSmrg 21257366012aSmrg# Installed binaries are usually stripped using `strip' when the user 21267366012aSmrg# run `make install-strip'. However `strip' might not be the right 21277366012aSmrg# tool to use in cross-compilation environments, therefore Automake 21287366012aSmrg# will honor the `STRIP' environment variable to overrule this program. 21297366012aSmrgif test "$cross_compiling" != no; then 21307366012aSmrg if test -n "$ac_tool_prefix"; then 21317366012aSmrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 21327366012aSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2 21337366012aSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 21347366012aSmrg$as_echo_n "checking for $ac_word... " >&6; } 21357366012aSmrgif test "${ac_cv_prog_STRIP+set}" = set; then 21367366012aSmrg $as_echo_n "(cached) " >&6 21377366012aSmrgelse 21387366012aSmrg if test -n "$STRIP"; then 21397366012aSmrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 21407366012aSmrgelse 21417366012aSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21427366012aSmrgfor as_dir in $PATH 21437366012aSmrgdo 21447366012aSmrg IFS=$as_save_IFS 21457366012aSmrg test -z "$as_dir" && as_dir=. 21467366012aSmrg for ac_exec_ext in '' $ac_executable_extensions; do 21477366012aSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 21487366012aSmrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 21497366012aSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 21507366012aSmrg break 2 21517366012aSmrg fi 21527366012aSmrgdone 21537366012aSmrgdone 21547366012aSmrgIFS=$as_save_IFS 21557366012aSmrg 21567366012aSmrgfi 21577366012aSmrgfi 21587366012aSmrgSTRIP=$ac_cv_prog_STRIP 21597366012aSmrgif test -n "$STRIP"; then 21607366012aSmrg { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 21617366012aSmrg$as_echo "$STRIP" >&6; } 21627366012aSmrgelse 21637366012aSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 21647366012aSmrg$as_echo "no" >&6; } 21657366012aSmrgfi 21667366012aSmrg 21677366012aSmrg 21687366012aSmrgfi 21697366012aSmrgif test -z "$ac_cv_prog_STRIP"; then 21707366012aSmrg ac_ct_STRIP=$STRIP 21717366012aSmrg # Extract the first word of "strip", so it can be a program name with args. 21727366012aSmrgset dummy strip; ac_word=$2 21737366012aSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 21747366012aSmrg$as_echo_n "checking for $ac_word... " >&6; } 21757366012aSmrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 21767366012aSmrg $as_echo_n "(cached) " >&6 21777366012aSmrgelse 21787366012aSmrg if test -n "$ac_ct_STRIP"; then 21797366012aSmrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 21807366012aSmrgelse 21817366012aSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21827366012aSmrgfor as_dir in $PATH 21837366012aSmrgdo 21847366012aSmrg IFS=$as_save_IFS 21857366012aSmrg test -z "$as_dir" && as_dir=. 21867366012aSmrg for ac_exec_ext in '' $ac_executable_extensions; do 21877366012aSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 21887366012aSmrg ac_cv_prog_ac_ct_STRIP="strip" 21897366012aSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 21907366012aSmrg break 2 21917366012aSmrg fi 21927366012aSmrgdone 21937366012aSmrgdone 21947366012aSmrgIFS=$as_save_IFS 21957366012aSmrg 21967366012aSmrgfi 21977366012aSmrgfi 21987366012aSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 21997366012aSmrgif test -n "$ac_ct_STRIP"; then 22007366012aSmrg { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 22017366012aSmrg$as_echo "$ac_ct_STRIP" >&6; } 22027366012aSmrgelse 22037366012aSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 22047366012aSmrg$as_echo "no" >&6; } 22057366012aSmrgfi 22067366012aSmrg 22077366012aSmrg if test "x$ac_ct_STRIP" = x; then 22087366012aSmrg STRIP=":" 22097366012aSmrg else 22107366012aSmrg case $cross_compiling:$ac_tool_warned in 22117366012aSmrgyes:) 22127366012aSmrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 22137366012aSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 22147366012aSmrgac_tool_warned=yes ;; 22157366012aSmrgesac 22167366012aSmrg STRIP=$ac_ct_STRIP 22177366012aSmrg fi 22187366012aSmrgelse 22197366012aSmrg STRIP="$ac_cv_prog_STRIP" 22207a0395d0Smrgfi 22217a0395d0Smrg 22227366012aSmrgfi 22237366012aSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 22247366012aSmrg 22257366012aSmrg{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 22267366012aSmrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 22277a0395d0Smrgif test -z "$MKDIR_P"; then 22287a0395d0Smrg if test "${ac_cv_path_mkdir+set}" = set; then 22297366012aSmrg $as_echo_n "(cached) " >&6 22307a0395d0Smrgelse 22317a0395d0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22327a0395d0Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 22337a0395d0Smrgdo 22347a0395d0Smrg IFS=$as_save_IFS 22357a0395d0Smrg test -z "$as_dir" && as_dir=. 22367a0395d0Smrg for ac_prog in mkdir gmkdir; do 22377a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22387a0395d0Smrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 22397a0395d0Smrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 22407a0395d0Smrg 'mkdir (GNU coreutils) '* | \ 22417a0395d0Smrg 'mkdir (coreutils) '* | \ 22427a0395d0Smrg 'mkdir (fileutils) '4.1*) 22437a0395d0Smrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 22447a0395d0Smrg break 3;; 22457a0395d0Smrg esac 22467a0395d0Smrg done 22477a0395d0Smrg done 22487a0395d0Smrgdone 22497a0395d0SmrgIFS=$as_save_IFS 22507a0395d0Smrg 22517a0395d0Smrgfi 22527a0395d0Smrg 22537a0395d0Smrg if test "${ac_cv_path_mkdir+set}" = set; then 22547a0395d0Smrg MKDIR_P="$ac_cv_path_mkdir -p" 22557a0395d0Smrg else 22567a0395d0Smrg # As a last resort, use the slow shell script. Don't cache a 22577a0395d0Smrg # value for MKDIR_P within a source directory, because that will 22587a0395d0Smrg # break other packages using the cache if that directory is 22597a0395d0Smrg # removed, or if the value is a relative name. 22607a0395d0Smrg test -d ./--version && rmdir ./--version 22617a0395d0Smrg MKDIR_P="$ac_install_sh -d" 22627a0395d0Smrg fi 22637a0395d0Smrgfi 22647366012aSmrg{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 22657366012aSmrg$as_echo "$MKDIR_P" >&6; } 22667a0395d0Smrg 22677a0395d0Smrgmkdir_p="$MKDIR_P" 22687a0395d0Smrgcase $mkdir_p in 22697a0395d0Smrg [\\/$]* | ?:[\\/]*) ;; 22707a0395d0Smrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 22717a0395d0Smrgesac 22727a0395d0Smrg 22737a0395d0Smrgfor ac_prog in gawk mawk nawk awk 22747a0395d0Smrgdo 22757a0395d0Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 22767a0395d0Smrgset dummy $ac_prog; ac_word=$2 22777366012aSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 22787366012aSmrg$as_echo_n "checking for $ac_word... " >&6; } 22797a0395d0Smrgif test "${ac_cv_prog_AWK+set}" = set; then 22807366012aSmrg $as_echo_n "(cached) " >&6 22817a0395d0Smrgelse 22827a0395d0Smrg if test -n "$AWK"; then 22837a0395d0Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 22847a0395d0Smrgelse 22857a0395d0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22867a0395d0Smrgfor as_dir in $PATH 22877a0395d0Smrgdo 22887a0395d0Smrg IFS=$as_save_IFS 22897a0395d0Smrg test -z "$as_dir" && as_dir=. 22907a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22917a0395d0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22927a0395d0Smrg ac_cv_prog_AWK="$ac_prog" 22937366012aSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 22947a0395d0Smrg break 2 22957a0395d0Smrg fi 22967a0395d0Smrgdone 22977a0395d0Smrgdone 22987a0395d0SmrgIFS=$as_save_IFS 22997a0395d0Smrg 23007a0395d0Smrgfi 23017a0395d0Smrgfi 23027a0395d0SmrgAWK=$ac_cv_prog_AWK 23037a0395d0Smrgif test -n "$AWK"; then 23047366012aSmrg { $as_echo "$as_me:$LINENO: result: $AWK" >&5 23057366012aSmrg$as_echo "$AWK" >&6; } 23067a0395d0Smrgelse 23077366012aSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 23087366012aSmrg$as_echo "no" >&6; } 23097a0395d0Smrgfi 23107a0395d0Smrg 23117a0395d0Smrg 23127a0395d0Smrg test -n "$AWK" && break 23137a0395d0Smrgdone 23147a0395d0Smrg 23157366012aSmrg{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 23167366012aSmrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 23177366012aSmrgset x ${MAKE-make} 23187366012aSmrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 23197a0395d0Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 23207366012aSmrg $as_echo_n "(cached) " >&6 23217a0395d0Smrgelse 23227a0395d0Smrg cat >conftest.make <<\_ACEOF 23237a0395d0SmrgSHELL = /bin/sh 23247a0395d0Smrgall: 23257a0395d0Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 23267a0395d0Smrg_ACEOF 23277a0395d0Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 23287a0395d0Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 23297a0395d0Smrg *@@@%%%=?*=@@@%%%*) 23307a0395d0Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 23317a0395d0Smrg *) 23327a0395d0Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 23337a0395d0Smrgesac 23347a0395d0Smrgrm -f conftest.make 23357a0395d0Smrgfi 23367a0395d0Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 23377366012aSmrg { $as_echo "$as_me:$LINENO: result: yes" >&5 23387366012aSmrg$as_echo "yes" >&6; } 23397a0395d0Smrg SET_MAKE= 23407a0395d0Smrgelse 23417366012aSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 23427366012aSmrg$as_echo "no" >&6; } 23437a0395d0Smrg SET_MAKE="MAKE=${MAKE-make}" 23447a0395d0Smrgfi 23457a0395d0Smrg 23467a0395d0Smrgrm -rf .tst 2>/dev/null 23477a0395d0Smrgmkdir .tst 2>/dev/null 23487a0395d0Smrgif test -d .tst; then 23497a0395d0Smrg am__leading_dot=. 23507a0395d0Smrgelse 23517a0395d0Smrg am__leading_dot=_ 23527a0395d0Smrgfi 23537a0395d0Smrgrmdir .tst 2>/dev/null 23547a0395d0Smrg 23557a0395d0Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 23567a0395d0Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 23577a0395d0Smrg # is not polluted with repeated "-I." 23587a0395d0Smrg am__isrc=' -I$(srcdir)' 23597a0395d0Smrg # test to see if srcdir already configured 23607a0395d0Smrg if test -f $srcdir/config.status; then 23617366012aSmrg { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 23627366012aSmrg$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 23637a0395d0Smrg { (exit 1); exit 1; }; } 23647a0395d0Smrg fi 23657a0395d0Smrgfi 23667a0395d0Smrg 23677a0395d0Smrg# test whether we have cygpath 23687a0395d0Smrgif test -z "$CYGPATH_W"; then 23697a0395d0Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 23707a0395d0Smrg CYGPATH_W='cygpath -w' 23717a0395d0Smrg else 23727a0395d0Smrg CYGPATH_W=echo 23737a0395d0Smrg fi 23747a0395d0Smrgfi 23757a0395d0Smrg 23767a0395d0Smrg 23777a0395d0Smrg# Define the identity of the package. 23787a0395d0Smrg PACKAGE='xauth' 23797366012aSmrg VERSION='1.0.4' 23807a0395d0Smrg 23817a0395d0Smrg 23827a0395d0Smrgcat >>confdefs.h <<_ACEOF 23837a0395d0Smrg#define PACKAGE "$PACKAGE" 23847a0395d0Smrg_ACEOF 23857a0395d0Smrg 23867a0395d0Smrg 23877a0395d0Smrgcat >>confdefs.h <<_ACEOF 23887a0395d0Smrg#define VERSION "$VERSION" 23897a0395d0Smrg_ACEOF 23907a0395d0Smrg 23917a0395d0Smrg# Some tools Automake needs. 23927a0395d0Smrg 23937a0395d0SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 23947a0395d0Smrg 23957a0395d0Smrg 23967a0395d0SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 23977a0395d0Smrg 23987a0395d0Smrg 23997a0395d0SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 24007a0395d0Smrg 24017a0395d0Smrg 24027a0395d0SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 24037a0395d0Smrg 24047a0395d0Smrg 24057a0395d0SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 24067a0395d0Smrg 24077a0395d0Smrg# We need awk for the "check" target. The system "awk" is bad on 24087a0395d0Smrg# some platforms. 24097a0395d0Smrg# Always define AMTAR for backward compatibility. 24107a0395d0Smrg 24117a0395d0SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 24127a0395d0Smrg 24137a0395d0Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 24147a0395d0Smrg 24157a0395d0Smrg 24167a0395d0Smrg 24177a0395d0Smrg 24187a0395d0Smrg 24197366012aSmrg 24207366012aSmrg{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 24217366012aSmrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 24227a0395d0Smrg # Check whether --enable-maintainer-mode was given. 24237a0395d0Smrgif test "${enable_maintainer_mode+set}" = set; then 24247a0395d0Smrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 24257a0395d0Smrgelse 24267a0395d0Smrg USE_MAINTAINER_MODE=no 24277a0395d0Smrgfi 24287a0395d0Smrg 24297366012aSmrg { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 24307366012aSmrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 24317a0395d0Smrg if test $USE_MAINTAINER_MODE = yes; then 24327a0395d0Smrg MAINTAINER_MODE_TRUE= 24337a0395d0Smrg MAINTAINER_MODE_FALSE='#' 24347a0395d0Smrgelse 24357a0395d0Smrg MAINTAINER_MODE_TRUE='#' 24367a0395d0Smrg MAINTAINER_MODE_FALSE= 24377a0395d0Smrgfi 24387a0395d0Smrg 24397a0395d0Smrg MAINT=$MAINTAINER_MODE_TRUE 24407a0395d0Smrg 24417a0395d0Smrg 24427a0395d0Smrg 24437a0395d0Smrgac_config_headers="$ac_config_headers config.h" 24447a0395d0Smrg 24457a0395d0Smrg 24467366012aSmrg# Require xorg-macros: XORG_WITH_LINT, XORG_DEFAULT_OPTIONS 24477366012aSmrg 24487366012aSmrg 24497366012aSmrg 24507366012aSmrg 24517366012aSmrg 24527366012aSmrg 24537366012aSmrg 24547366012aSmrg 24557a0395d0Smrg 24567a0395d0Smrg 24577a0395d0Smrg 24587a0395d0Smrg 24597a0395d0Smrgac_ext=c 24607a0395d0Smrgac_cpp='$CPP $CPPFLAGS' 24617a0395d0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24627a0395d0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24637a0395d0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 24647a0395d0Smrgif test -n "$ac_tool_prefix"; then 24657a0395d0Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 24667a0395d0Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 24677366012aSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 24687366012aSmrg$as_echo_n "checking for $ac_word... " >&6; } 24697a0395d0Smrgif test "${ac_cv_prog_CC+set}" = set; then 24707366012aSmrg $as_echo_n "(cached) " >&6 24717a0395d0Smrgelse 24727a0395d0Smrg if test -n "$CC"; then 24737a0395d0Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 24747a0395d0Smrgelse 24757a0395d0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24767a0395d0Smrgfor as_dir in $PATH 24777a0395d0Smrgdo 24787a0395d0Smrg IFS=$as_save_IFS 24797a0395d0Smrg test -z "$as_dir" && as_dir=. 24807a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 24817a0395d0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 24827a0395d0Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 24837366012aSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 24847a0395d0Smrg break 2 24857a0395d0Smrg fi 24867a0395d0Smrgdone 24877a0395d0Smrgdone 24887a0395d0SmrgIFS=$as_save_IFS 24897a0395d0Smrg 24907a0395d0Smrgfi 24917a0395d0Smrgfi 24927a0395d0SmrgCC=$ac_cv_prog_CC 24937a0395d0Smrgif test -n "$CC"; then 24947366012aSmrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 24957366012aSmrg$as_echo "$CC" >&6; } 24967a0395d0Smrgelse 24977366012aSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 24987366012aSmrg$as_echo "no" >&6; } 24997a0395d0Smrgfi 25007a0395d0Smrg 25017a0395d0Smrg 25027a0395d0Smrgfi 25037a0395d0Smrgif test -z "$ac_cv_prog_CC"; then 25047a0395d0Smrg ac_ct_CC=$CC 25057a0395d0Smrg # Extract the first word of "gcc", so it can be a program name with args. 25067a0395d0Smrgset dummy gcc; ac_word=$2 25077366012aSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 25087366012aSmrg$as_echo_n "checking for $ac_word... " >&6; } 25097a0395d0Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 25107366012aSmrg $as_echo_n "(cached) " >&6 25117a0395d0Smrgelse 25127a0395d0Smrg if test -n "$ac_ct_CC"; then 25137a0395d0Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 25147a0395d0Smrgelse 25157a0395d0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25167a0395d0Smrgfor as_dir in $PATH 25177a0395d0Smrgdo 25187a0395d0Smrg IFS=$as_save_IFS 25197a0395d0Smrg test -z "$as_dir" && as_dir=. 25207a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 25217a0395d0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 25227a0395d0Smrg ac_cv_prog_ac_ct_CC="gcc" 25237366012aSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 25247a0395d0Smrg break 2 25257a0395d0Smrg fi 25267a0395d0Smrgdone 25277a0395d0Smrgdone 25287a0395d0SmrgIFS=$as_save_IFS 25297a0395d0Smrg 25307a0395d0Smrgfi 25317a0395d0Smrgfi 25327a0395d0Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 25337a0395d0Smrgif test -n "$ac_ct_CC"; then 25347366012aSmrg { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 25357366012aSmrg$as_echo "$ac_ct_CC" >&6; } 25367a0395d0Smrgelse 25377366012aSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 25387366012aSmrg$as_echo "no" >&6; } 25397a0395d0Smrgfi 25407a0395d0Smrg 25417a0395d0Smrg if test "x$ac_ct_CC" = x; then 25427a0395d0Smrg CC="" 25437a0395d0Smrg else 25447a0395d0Smrg case $cross_compiling:$ac_tool_warned in 25457a0395d0Smrgyes:) 25467366012aSmrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 25477366012aSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 25487a0395d0Smrgac_tool_warned=yes ;; 25497a0395d0Smrgesac 25507a0395d0Smrg CC=$ac_ct_CC 25517a0395d0Smrg fi 25527a0395d0Smrgelse 25537a0395d0Smrg CC="$ac_cv_prog_CC" 25547a0395d0Smrgfi 25557a0395d0Smrg 25567a0395d0Smrgif test -z "$CC"; then 25577a0395d0Smrg if test -n "$ac_tool_prefix"; then 25587a0395d0Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 25597a0395d0Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 25607366012aSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 25617366012aSmrg$as_echo_n "checking for $ac_word... " >&6; } 25627a0395d0Smrgif test "${ac_cv_prog_CC+set}" = set; then 25637366012aSmrg $as_echo_n "(cached) " >&6 25647a0395d0Smrgelse 25657a0395d0Smrg if test -n "$CC"; then 25667a0395d0Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 25677a0395d0Smrgelse 25687a0395d0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25697a0395d0Smrgfor as_dir in $PATH 25707a0395d0Smrgdo 25717a0395d0Smrg IFS=$as_save_IFS 25727a0395d0Smrg test -z "$as_dir" && as_dir=. 25737a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 25747a0395d0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 25757a0395d0Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 25767366012aSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 25777a0395d0Smrg break 2 25787a0395d0Smrg fi 25797a0395d0Smrgdone 25807a0395d0Smrgdone 25817a0395d0SmrgIFS=$as_save_IFS 25827a0395d0Smrg 25837a0395d0Smrgfi 25847a0395d0Smrgfi 25857a0395d0SmrgCC=$ac_cv_prog_CC 25867a0395d0Smrgif test -n "$CC"; then 25877366012aSmrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 25887366012aSmrg$as_echo "$CC" >&6; } 25897a0395d0Smrgelse 25907366012aSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 25917366012aSmrg$as_echo "no" >&6; } 25927a0395d0Smrgfi 25937a0395d0Smrg 25947a0395d0Smrg 25957a0395d0Smrg fi 25967a0395d0Smrgfi 25977a0395d0Smrgif test -z "$CC"; then 25987a0395d0Smrg # Extract the first word of "cc", so it can be a program name with args. 25997a0395d0Smrgset dummy cc; ac_word=$2 26007366012aSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 26017366012aSmrg$as_echo_n "checking for $ac_word... " >&6; } 26027a0395d0Smrgif test "${ac_cv_prog_CC+set}" = set; then 26037366012aSmrg $as_echo_n "(cached) " >&6 26047a0395d0Smrgelse 26057a0395d0Smrg if test -n "$CC"; then 26067a0395d0Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 26077a0395d0Smrgelse 26087a0395d0Smrg ac_prog_rejected=no 26097a0395d0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26107a0395d0Smrgfor as_dir in $PATH 26117a0395d0Smrgdo 26127a0395d0Smrg IFS=$as_save_IFS 26137a0395d0Smrg test -z "$as_dir" && as_dir=. 26147a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26157a0395d0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26167a0395d0Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 26177a0395d0Smrg ac_prog_rejected=yes 26187a0395d0Smrg continue 26197a0395d0Smrg fi 26207a0395d0Smrg ac_cv_prog_CC="cc" 26217366012aSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 26227a0395d0Smrg break 2 26237a0395d0Smrg fi 26247a0395d0Smrgdone 26257a0395d0Smrgdone 26267a0395d0SmrgIFS=$as_save_IFS 26277a0395d0Smrg 26287a0395d0Smrgif test $ac_prog_rejected = yes; then 26297a0395d0Smrg # We found a bogon in the path, so make sure we never use it. 26307a0395d0Smrg set dummy $ac_cv_prog_CC 26317a0395d0Smrg shift 26327a0395d0Smrg if test $# != 0; then 26337a0395d0Smrg # We chose a different compiler from the bogus one. 26347a0395d0Smrg # However, it has the same basename, so the bogon will be chosen 26357a0395d0Smrg # first if we set CC to just the basename; use the full file name. 26367a0395d0Smrg shift 26377a0395d0Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 26387a0395d0Smrg fi 26397a0395d0Smrgfi 26407a0395d0Smrgfi 26417a0395d0Smrgfi 26427a0395d0SmrgCC=$ac_cv_prog_CC 26437a0395d0Smrgif test -n "$CC"; then 26447366012aSmrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 26457366012aSmrg$as_echo "$CC" >&6; } 26467a0395d0Smrgelse 26477366012aSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 26487366012aSmrg$as_echo "no" >&6; } 26497a0395d0Smrgfi 26507a0395d0Smrg 26517a0395d0Smrg 26527a0395d0Smrgfi 26537a0395d0Smrgif test -z "$CC"; then 26547a0395d0Smrg if test -n "$ac_tool_prefix"; then 26557a0395d0Smrg for ac_prog in cl.exe 26567a0395d0Smrg do 26577a0395d0Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 26587a0395d0Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 26597366012aSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 26607366012aSmrg$as_echo_n "checking for $ac_word... " >&6; } 26617a0395d0Smrgif test "${ac_cv_prog_CC+set}" = set; then 26627366012aSmrg $as_echo_n "(cached) " >&6 26637a0395d0Smrgelse 26647a0395d0Smrg if test -n "$CC"; then 26657a0395d0Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 26667a0395d0Smrgelse 26677a0395d0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26687a0395d0Smrgfor as_dir in $PATH 26697a0395d0Smrgdo 26707a0395d0Smrg IFS=$as_save_IFS 26717a0395d0Smrg test -z "$as_dir" && as_dir=. 26727a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26737a0395d0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26747a0395d0Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 26757366012aSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 26767a0395d0Smrg break 2 26777a0395d0Smrg fi 26787a0395d0Smrgdone 26797a0395d0Smrgdone 26807a0395d0SmrgIFS=$as_save_IFS 26817a0395d0Smrg 26827a0395d0Smrgfi 26837a0395d0Smrgfi 26847a0395d0SmrgCC=$ac_cv_prog_CC 26857a0395d0Smrgif test -n "$CC"; then 26867366012aSmrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 26877366012aSmrg$as_echo "$CC" >&6; } 26887a0395d0Smrgelse 26897366012aSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 26907366012aSmrg$as_echo "no" >&6; } 26917a0395d0Smrgfi 26927a0395d0Smrg 26937a0395d0Smrg 26947a0395d0Smrg test -n "$CC" && break 26957a0395d0Smrg done 26967a0395d0Smrgfi 26977a0395d0Smrgif test -z "$CC"; then 26987a0395d0Smrg ac_ct_CC=$CC 26997a0395d0Smrg for ac_prog in cl.exe 27007a0395d0Smrgdo 27017a0395d0Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 27027a0395d0Smrgset dummy $ac_prog; ac_word=$2 27037366012aSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 27047366012aSmrg$as_echo_n "checking for $ac_word... " >&6; } 27057a0395d0Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 27067366012aSmrg $as_echo_n "(cached) " >&6 27077a0395d0Smrgelse 27087a0395d0Smrg if test -n "$ac_ct_CC"; then 27097a0395d0Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 27107a0395d0Smrgelse 27117a0395d0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27127a0395d0Smrgfor as_dir in $PATH 27137a0395d0Smrgdo 27147a0395d0Smrg IFS=$as_save_IFS 27157a0395d0Smrg test -z "$as_dir" && as_dir=. 27167a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 27177a0395d0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27187a0395d0Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 27197366012aSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 27207a0395d0Smrg break 2 27217a0395d0Smrg fi 27227a0395d0Smrgdone 27237a0395d0Smrgdone 27247a0395d0SmrgIFS=$as_save_IFS 27257a0395d0Smrg 27267a0395d0Smrgfi 27277a0395d0Smrgfi 27287a0395d0Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 27297a0395d0Smrgif test -n "$ac_ct_CC"; then 27307366012aSmrg { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 27317366012aSmrg$as_echo "$ac_ct_CC" >&6; } 27327a0395d0Smrgelse 27337366012aSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 27347366012aSmrg$as_echo "no" >&6; } 27357a0395d0Smrgfi 27367a0395d0Smrg 27377a0395d0Smrg 27387a0395d0Smrg test -n "$ac_ct_CC" && break 27397a0395d0Smrgdone 27407a0395d0Smrg 27417a0395d0Smrg if test "x$ac_ct_CC" = x; then 27427a0395d0Smrg CC="" 27437a0395d0Smrg else 27447a0395d0Smrg case $cross_compiling:$ac_tool_warned in 27457a0395d0Smrgyes:) 27467366012aSmrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 27477366012aSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 27487a0395d0Smrgac_tool_warned=yes ;; 27497a0395d0Smrgesac 27507a0395d0Smrg CC=$ac_ct_CC 27517a0395d0Smrg fi 27527a0395d0Smrgfi 27537a0395d0Smrg 27547a0395d0Smrgfi 27557a0395d0Smrg 27567a0395d0Smrg 27577366012aSmrgtest -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 27587366012aSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27597366012aSmrg{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 27607a0395d0SmrgSee \`config.log' for more details." >&5 27617366012aSmrg$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 27627a0395d0SmrgSee \`config.log' for more details." >&2;} 27637366012aSmrg { (exit 1); exit 1; }; }; } 27647a0395d0Smrg 27657a0395d0Smrg# Provide some information about the compiler. 27667366012aSmrg$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 27677366012aSmrgset X $ac_compile 27687366012aSmrgac_compiler=$2 27697a0395d0Smrg{ (ac_try="$ac_compiler --version >&5" 27707a0395d0Smrgcase "(($ac_try" in 27717a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27727a0395d0Smrg *) ac_try_echo=$ac_try;; 27737a0395d0Smrgesac 27747366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 27757366012aSmrg$as_echo "$ac_try_echo") >&5 27767a0395d0Smrg (eval "$ac_compiler --version >&5") 2>&5 27777a0395d0Smrg ac_status=$? 27787366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27797a0395d0Smrg (exit $ac_status); } 27807a0395d0Smrg{ (ac_try="$ac_compiler -v >&5" 27817a0395d0Smrgcase "(($ac_try" in 27827a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27837a0395d0Smrg *) ac_try_echo=$ac_try;; 27847a0395d0Smrgesac 27857366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 27867366012aSmrg$as_echo "$ac_try_echo") >&5 27877a0395d0Smrg (eval "$ac_compiler -v >&5") 2>&5 27887a0395d0Smrg ac_status=$? 27897366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27907a0395d0Smrg (exit $ac_status); } 27917a0395d0Smrg{ (ac_try="$ac_compiler -V >&5" 27927a0395d0Smrgcase "(($ac_try" in 27937a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27947a0395d0Smrg *) ac_try_echo=$ac_try;; 27957a0395d0Smrgesac 27967366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 27977366012aSmrg$as_echo "$ac_try_echo") >&5 27987a0395d0Smrg (eval "$ac_compiler -V >&5") 2>&5 27997a0395d0Smrg ac_status=$? 28007366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28017a0395d0Smrg (exit $ac_status); } 28027a0395d0Smrg 28037a0395d0Smrgcat >conftest.$ac_ext <<_ACEOF 28047a0395d0Smrg/* confdefs.h. */ 28057a0395d0Smrg_ACEOF 28067a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 28077a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 28087a0395d0Smrg/* end confdefs.h. */ 28097a0395d0Smrg 28107a0395d0Smrgint 28117a0395d0Smrgmain () 28127a0395d0Smrg{ 28137a0395d0Smrg 28147a0395d0Smrg ; 28157a0395d0Smrg return 0; 28167a0395d0Smrg} 28177a0395d0Smrg_ACEOF 28187a0395d0Smrgac_clean_files_save=$ac_clean_files 28197366012aSmrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 28207a0395d0Smrg# Try to create an executable without -o first, disregard a.out. 28217a0395d0Smrg# It will help us diagnose broken compilers, and finding out an intuition 28227a0395d0Smrg# of exeext. 28237366012aSmrg{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 28247366012aSmrg$as_echo_n "checking for C compiler default output file name... " >&6; } 28257366012aSmrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 28267366012aSmrg 28277366012aSmrg# The possible output files: 28287366012aSmrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 28297366012aSmrg 28307a0395d0Smrgac_rmfiles= 28317a0395d0Smrgfor ac_file in $ac_files 28327a0395d0Smrgdo 28337a0395d0Smrg case $ac_file in 28347366012aSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 28357a0395d0Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 28367a0395d0Smrg esac 28377a0395d0Smrgdone 28387a0395d0Smrgrm -f $ac_rmfiles 28397a0395d0Smrg 28407a0395d0Smrgif { (ac_try="$ac_link_default" 28417a0395d0Smrgcase "(($ac_try" in 28427a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28437a0395d0Smrg *) ac_try_echo=$ac_try;; 28447a0395d0Smrgesac 28457366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 28467366012aSmrg$as_echo "$ac_try_echo") >&5 28477a0395d0Smrg (eval "$ac_link_default") 2>&5 28487a0395d0Smrg ac_status=$? 28497366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28507a0395d0Smrg (exit $ac_status); }; then 28517a0395d0Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 28527a0395d0Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 28537a0395d0Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 28547a0395d0Smrg# so that the user can short-circuit this test for compilers unknown to 28557a0395d0Smrg# Autoconf. 28567a0395d0Smrgfor ac_file in $ac_files '' 28577a0395d0Smrgdo 28587a0395d0Smrg test -f "$ac_file" || continue 28597a0395d0Smrg case $ac_file in 28607366012aSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 28617a0395d0Smrg ;; 28627a0395d0Smrg [ab].out ) 28637a0395d0Smrg # We found the default executable, but exeext='' is most 28647a0395d0Smrg # certainly right. 28657a0395d0Smrg break;; 28667a0395d0Smrg *.* ) 28677a0395d0Smrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 28687a0395d0Smrg then :; else 28697a0395d0Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 28707a0395d0Smrg fi 28717a0395d0Smrg # We set ac_cv_exeext here because the later test for it is not 28727a0395d0Smrg # safe: cross compilers may not add the suffix if given an `-o' 28737a0395d0Smrg # argument, so we may need to know it at that point already. 28747a0395d0Smrg # Even if this section looks crufty: it has the advantage of 28757a0395d0Smrg # actually working. 28767a0395d0Smrg break;; 28777a0395d0Smrg * ) 28787a0395d0Smrg break;; 28797a0395d0Smrg esac 28807a0395d0Smrgdone 28817a0395d0Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 28827a0395d0Smrg 28837a0395d0Smrgelse 28847a0395d0Smrg ac_file='' 28857a0395d0Smrgfi 28867a0395d0Smrg 28877366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 28887366012aSmrg$as_echo "$ac_file" >&6; } 28897a0395d0Smrgif test -z "$ac_file"; then 28907366012aSmrg $as_echo "$as_me: failed program was:" >&5 28917a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 28927a0395d0Smrg 28937366012aSmrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 28947366012aSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28957366012aSmrg{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 28967a0395d0SmrgSee \`config.log' for more details." >&5 28977366012aSmrg$as_echo "$as_me: error: C compiler cannot create executables 28987a0395d0SmrgSee \`config.log' for more details." >&2;} 28997366012aSmrg { (exit 77); exit 77; }; }; } 29007a0395d0Smrgfi 29017a0395d0Smrg 29027a0395d0Smrgac_exeext=$ac_cv_exeext 29037a0395d0Smrg 29047a0395d0Smrg# Check that the compiler produces executables we can run. If not, either 29057a0395d0Smrg# the compiler is broken, or we cross compile. 29067366012aSmrg{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 29077366012aSmrg$as_echo_n "checking whether the C compiler works... " >&6; } 29087a0395d0Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 29097a0395d0Smrg# If not cross compiling, check that we can run a simple program. 29107a0395d0Smrgif test "$cross_compiling" != yes; then 29117a0395d0Smrg if { ac_try='./$ac_file' 29127a0395d0Smrg { (case "(($ac_try" in 29137a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29147a0395d0Smrg *) ac_try_echo=$ac_try;; 29157a0395d0Smrgesac 29167366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 29177366012aSmrg$as_echo "$ac_try_echo") >&5 29187a0395d0Smrg (eval "$ac_try") 2>&5 29197a0395d0Smrg ac_status=$? 29207366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 29217a0395d0Smrg (exit $ac_status); }; }; then 29227a0395d0Smrg cross_compiling=no 29237a0395d0Smrg else 29247a0395d0Smrg if test "$cross_compiling" = maybe; then 29257a0395d0Smrg cross_compiling=yes 29267a0395d0Smrg else 29277366012aSmrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 29287366012aSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29297366012aSmrg{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 29307a0395d0SmrgIf you meant to cross compile, use \`--host'. 29317a0395d0SmrgSee \`config.log' for more details." >&5 29327366012aSmrg$as_echo "$as_me: error: cannot run C compiled programs. 29337a0395d0SmrgIf you meant to cross compile, use \`--host'. 29347a0395d0SmrgSee \`config.log' for more details." >&2;} 29357366012aSmrg { (exit 1); exit 1; }; }; } 29367a0395d0Smrg fi 29377a0395d0Smrg fi 29387a0395d0Smrgfi 29397366012aSmrg{ $as_echo "$as_me:$LINENO: result: yes" >&5 29407366012aSmrg$as_echo "yes" >&6; } 29417a0395d0Smrg 29427366012aSmrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 29437a0395d0Smrgac_clean_files=$ac_clean_files_save 29447a0395d0Smrg# Check that the compiler produces executables we can run. If not, either 29457a0395d0Smrg# the compiler is broken, or we cross compile. 29467366012aSmrg{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 29477366012aSmrg$as_echo_n "checking whether we are cross compiling... " >&6; } 29487366012aSmrg{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 29497366012aSmrg$as_echo "$cross_compiling" >&6; } 29507a0395d0Smrg 29517366012aSmrg{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 29527366012aSmrg$as_echo_n "checking for suffix of executables... " >&6; } 29537a0395d0Smrgif { (ac_try="$ac_link" 29547a0395d0Smrgcase "(($ac_try" in 29557a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29567a0395d0Smrg *) ac_try_echo=$ac_try;; 29577a0395d0Smrgesac 29587366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 29597366012aSmrg$as_echo "$ac_try_echo") >&5 29607a0395d0Smrg (eval "$ac_link") 2>&5 29617a0395d0Smrg ac_status=$? 29627366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 29637a0395d0Smrg (exit $ac_status); }; then 29647a0395d0Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 29657a0395d0Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 29667a0395d0Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 29677a0395d0Smrg# `rm'. 29687a0395d0Smrgfor ac_file in conftest.exe conftest conftest.*; do 29697a0395d0Smrg test -f "$ac_file" || continue 29707a0395d0Smrg case $ac_file in 29717366012aSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 29727a0395d0Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 29737a0395d0Smrg break;; 29747a0395d0Smrg * ) break;; 29757a0395d0Smrg esac 29767a0395d0Smrgdone 29777a0395d0Smrgelse 29787366012aSmrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 29797366012aSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29807366012aSmrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 29817a0395d0SmrgSee \`config.log' for more details." >&5 29827366012aSmrg$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 29837a0395d0SmrgSee \`config.log' for more details." >&2;} 29847366012aSmrg { (exit 1); exit 1; }; }; } 29857a0395d0Smrgfi 29867a0395d0Smrg 29877a0395d0Smrgrm -f conftest$ac_cv_exeext 29887366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 29897366012aSmrg$as_echo "$ac_cv_exeext" >&6; } 29907a0395d0Smrg 29917a0395d0Smrgrm -f conftest.$ac_ext 29927a0395d0SmrgEXEEXT=$ac_cv_exeext 29937a0395d0Smrgac_exeext=$EXEEXT 29947366012aSmrg{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 29957366012aSmrg$as_echo_n "checking for suffix of object files... " >&6; } 29967a0395d0Smrgif test "${ac_cv_objext+set}" = set; then 29977366012aSmrg $as_echo_n "(cached) " >&6 29987a0395d0Smrgelse 29997a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 30007a0395d0Smrg/* confdefs.h. */ 30017a0395d0Smrg_ACEOF 30027a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 30037a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 30047a0395d0Smrg/* end confdefs.h. */ 30057a0395d0Smrg 30067a0395d0Smrgint 30077a0395d0Smrgmain () 30087a0395d0Smrg{ 30097a0395d0Smrg 30107a0395d0Smrg ; 30117a0395d0Smrg return 0; 30127a0395d0Smrg} 30137a0395d0Smrg_ACEOF 30147a0395d0Smrgrm -f conftest.o conftest.obj 30157a0395d0Smrgif { (ac_try="$ac_compile" 30167a0395d0Smrgcase "(($ac_try" in 30177a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30187a0395d0Smrg *) ac_try_echo=$ac_try;; 30197a0395d0Smrgesac 30207366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 30217366012aSmrg$as_echo "$ac_try_echo") >&5 30227a0395d0Smrg (eval "$ac_compile") 2>&5 30237a0395d0Smrg ac_status=$? 30247366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 30257a0395d0Smrg (exit $ac_status); }; then 30267a0395d0Smrg for ac_file in conftest.o conftest.obj conftest.*; do 30277a0395d0Smrg test -f "$ac_file" || continue; 30287a0395d0Smrg case $ac_file in 30297366012aSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 30307a0395d0Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 30317a0395d0Smrg break;; 30327a0395d0Smrg esac 30337a0395d0Smrgdone 30347a0395d0Smrgelse 30357366012aSmrg $as_echo "$as_me: failed program was:" >&5 30367a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 30377a0395d0Smrg 30387366012aSmrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 30397366012aSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30407366012aSmrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 30417a0395d0SmrgSee \`config.log' for more details." >&5 30427366012aSmrg$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 30437a0395d0SmrgSee \`config.log' for more details." >&2;} 30447366012aSmrg { (exit 1); exit 1; }; }; } 30457a0395d0Smrgfi 30467a0395d0Smrg 30477a0395d0Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 30487a0395d0Smrgfi 30497366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 30507366012aSmrg$as_echo "$ac_cv_objext" >&6; } 30517a0395d0SmrgOBJEXT=$ac_cv_objext 30527a0395d0Smrgac_objext=$OBJEXT 30537366012aSmrg{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 30547366012aSmrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 30557a0395d0Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 30567366012aSmrg $as_echo_n "(cached) " >&6 30577a0395d0Smrgelse 30587a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 30597a0395d0Smrg/* confdefs.h. */ 30607a0395d0Smrg_ACEOF 30617a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 30627a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 30637a0395d0Smrg/* end confdefs.h. */ 30647a0395d0Smrg 30657a0395d0Smrgint 30667a0395d0Smrgmain () 30677a0395d0Smrg{ 30687a0395d0Smrg#ifndef __GNUC__ 30697a0395d0Smrg choke me 30707a0395d0Smrg#endif 30717a0395d0Smrg 30727a0395d0Smrg ; 30737a0395d0Smrg return 0; 30747a0395d0Smrg} 30757a0395d0Smrg_ACEOF 30767a0395d0Smrgrm -f conftest.$ac_objext 30777a0395d0Smrgif { (ac_try="$ac_compile" 30787a0395d0Smrgcase "(($ac_try" in 30797a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30807a0395d0Smrg *) ac_try_echo=$ac_try;; 30817a0395d0Smrgesac 30827366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 30837366012aSmrg$as_echo "$ac_try_echo") >&5 30847a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 30857a0395d0Smrg ac_status=$? 30867a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 30877a0395d0Smrg rm -f conftest.er1 30887a0395d0Smrg cat conftest.err >&5 30897366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 30907a0395d0Smrg (exit $ac_status); } && { 30917a0395d0Smrg test -z "$ac_c_werror_flag" || 30927a0395d0Smrg test ! -s conftest.err 30937a0395d0Smrg } && test -s conftest.$ac_objext; then 30947a0395d0Smrg ac_compiler_gnu=yes 30957a0395d0Smrgelse 30967366012aSmrg $as_echo "$as_me: failed program was:" >&5 30977a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 30987a0395d0Smrg 30997a0395d0Smrg ac_compiler_gnu=no 31007a0395d0Smrgfi 31017a0395d0Smrg 31027a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 31037a0395d0Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 31047a0395d0Smrg 31057a0395d0Smrgfi 31067366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 31077366012aSmrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 31087366012aSmrgif test $ac_compiler_gnu = yes; then 31097366012aSmrg GCC=yes 31107366012aSmrgelse 31117366012aSmrg GCC= 31127366012aSmrgfi 31137a0395d0Smrgac_test_CFLAGS=${CFLAGS+set} 31147a0395d0Smrgac_save_CFLAGS=$CFLAGS 31157366012aSmrg{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 31167366012aSmrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 31177a0395d0Smrgif test "${ac_cv_prog_cc_g+set}" = set; then 31187366012aSmrg $as_echo_n "(cached) " >&6 31197a0395d0Smrgelse 31207a0395d0Smrg ac_save_c_werror_flag=$ac_c_werror_flag 31217a0395d0Smrg ac_c_werror_flag=yes 31227a0395d0Smrg ac_cv_prog_cc_g=no 31237a0395d0Smrg CFLAGS="-g" 31247a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 31257a0395d0Smrg/* confdefs.h. */ 31267a0395d0Smrg_ACEOF 31277a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 31287a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 31297a0395d0Smrg/* end confdefs.h. */ 31307a0395d0Smrg 31317a0395d0Smrgint 31327a0395d0Smrgmain () 31337a0395d0Smrg{ 31347a0395d0Smrg 31357a0395d0Smrg ; 31367a0395d0Smrg return 0; 31377a0395d0Smrg} 31387a0395d0Smrg_ACEOF 31397a0395d0Smrgrm -f conftest.$ac_objext 31407a0395d0Smrgif { (ac_try="$ac_compile" 31417a0395d0Smrgcase "(($ac_try" in 31427a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31437a0395d0Smrg *) ac_try_echo=$ac_try;; 31447a0395d0Smrgesac 31457366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 31467366012aSmrg$as_echo "$ac_try_echo") >&5 31477a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 31487a0395d0Smrg ac_status=$? 31497a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 31507a0395d0Smrg rm -f conftest.er1 31517a0395d0Smrg cat conftest.err >&5 31527366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 31537a0395d0Smrg (exit $ac_status); } && { 31547a0395d0Smrg test -z "$ac_c_werror_flag" || 31557a0395d0Smrg test ! -s conftest.err 31567a0395d0Smrg } && test -s conftest.$ac_objext; then 31577a0395d0Smrg ac_cv_prog_cc_g=yes 31587a0395d0Smrgelse 31597366012aSmrg $as_echo "$as_me: failed program was:" >&5 31607a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 31617a0395d0Smrg 31627a0395d0Smrg CFLAGS="" 31637a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 31647a0395d0Smrg/* confdefs.h. */ 31657a0395d0Smrg_ACEOF 31667a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 31677a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 31687a0395d0Smrg/* end confdefs.h. */ 31697a0395d0Smrg 31707a0395d0Smrgint 31717a0395d0Smrgmain () 31727a0395d0Smrg{ 31737a0395d0Smrg 31747a0395d0Smrg ; 31757a0395d0Smrg return 0; 31767a0395d0Smrg} 31777a0395d0Smrg_ACEOF 31787a0395d0Smrgrm -f conftest.$ac_objext 31797a0395d0Smrgif { (ac_try="$ac_compile" 31807a0395d0Smrgcase "(($ac_try" in 31817a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31827a0395d0Smrg *) ac_try_echo=$ac_try;; 31837a0395d0Smrgesac 31847366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 31857366012aSmrg$as_echo "$ac_try_echo") >&5 31867a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 31877a0395d0Smrg ac_status=$? 31887a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 31897a0395d0Smrg rm -f conftest.er1 31907a0395d0Smrg cat conftest.err >&5 31917366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 31927a0395d0Smrg (exit $ac_status); } && { 31937a0395d0Smrg test -z "$ac_c_werror_flag" || 31947a0395d0Smrg test ! -s conftest.err 31957a0395d0Smrg } && test -s conftest.$ac_objext; then 31967a0395d0Smrg : 31977a0395d0Smrgelse 31987366012aSmrg $as_echo "$as_me: failed program was:" >&5 31997a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 32007a0395d0Smrg 32017a0395d0Smrg ac_c_werror_flag=$ac_save_c_werror_flag 32027a0395d0Smrg CFLAGS="-g" 32037a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 32047a0395d0Smrg/* confdefs.h. */ 32057a0395d0Smrg_ACEOF 32067a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 32077a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 32087a0395d0Smrg/* end confdefs.h. */ 32097a0395d0Smrg 32107a0395d0Smrgint 32117a0395d0Smrgmain () 32127a0395d0Smrg{ 32137a0395d0Smrg 32147a0395d0Smrg ; 32157a0395d0Smrg return 0; 32167a0395d0Smrg} 32177a0395d0Smrg_ACEOF 32187a0395d0Smrgrm -f conftest.$ac_objext 32197a0395d0Smrgif { (ac_try="$ac_compile" 32207a0395d0Smrgcase "(($ac_try" in 32217a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 32227a0395d0Smrg *) ac_try_echo=$ac_try;; 32237a0395d0Smrgesac 32247366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 32257366012aSmrg$as_echo "$ac_try_echo") >&5 32267a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 32277a0395d0Smrg ac_status=$? 32287a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 32297a0395d0Smrg rm -f conftest.er1 32307a0395d0Smrg cat conftest.err >&5 32317366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 32327a0395d0Smrg (exit $ac_status); } && { 32337a0395d0Smrg test -z "$ac_c_werror_flag" || 32347a0395d0Smrg test ! -s conftest.err 32357a0395d0Smrg } && test -s conftest.$ac_objext; then 32367a0395d0Smrg ac_cv_prog_cc_g=yes 32377a0395d0Smrgelse 32387366012aSmrg $as_echo "$as_me: failed program was:" >&5 32397a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 32407a0395d0Smrg 32417a0395d0Smrg 32427a0395d0Smrgfi 32437a0395d0Smrg 32447a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32457a0395d0Smrgfi 32467a0395d0Smrg 32477a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32487a0395d0Smrgfi 32497a0395d0Smrg 32507a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32517a0395d0Smrg ac_c_werror_flag=$ac_save_c_werror_flag 32527a0395d0Smrgfi 32537366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 32547366012aSmrg$as_echo "$ac_cv_prog_cc_g" >&6; } 32557a0395d0Smrgif test "$ac_test_CFLAGS" = set; then 32567a0395d0Smrg CFLAGS=$ac_save_CFLAGS 32577a0395d0Smrgelif test $ac_cv_prog_cc_g = yes; then 32587a0395d0Smrg if test "$GCC" = yes; then 32597a0395d0Smrg CFLAGS="-g -O2" 32607a0395d0Smrg else 32617a0395d0Smrg CFLAGS="-g" 32627a0395d0Smrg fi 32637a0395d0Smrgelse 32647a0395d0Smrg if test "$GCC" = yes; then 32657a0395d0Smrg CFLAGS="-O2" 32667a0395d0Smrg else 32677a0395d0Smrg CFLAGS= 32687a0395d0Smrg fi 32697a0395d0Smrgfi 32707366012aSmrg{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 32717366012aSmrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 32727a0395d0Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then 32737366012aSmrg $as_echo_n "(cached) " >&6 32747a0395d0Smrgelse 32757a0395d0Smrg ac_cv_prog_cc_c89=no 32767a0395d0Smrgac_save_CC=$CC 32777a0395d0Smrgcat >conftest.$ac_ext <<_ACEOF 32787a0395d0Smrg/* confdefs.h. */ 32797a0395d0Smrg_ACEOF 32807a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 32817a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 32827a0395d0Smrg/* end confdefs.h. */ 32837a0395d0Smrg#include <stdarg.h> 32847a0395d0Smrg#include <stdio.h> 32857a0395d0Smrg#include <sys/types.h> 32867a0395d0Smrg#include <sys/stat.h> 32877a0395d0Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 32887a0395d0Smrgstruct buf { int x; }; 32897a0395d0SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 32907a0395d0Smrgstatic char *e (p, i) 32917a0395d0Smrg char **p; 32927a0395d0Smrg int i; 32937a0395d0Smrg{ 32947a0395d0Smrg return p[i]; 32957a0395d0Smrg} 32967a0395d0Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 32977a0395d0Smrg{ 32987a0395d0Smrg char *s; 32997a0395d0Smrg va_list v; 33007a0395d0Smrg va_start (v,p); 33017a0395d0Smrg s = g (p, va_arg (v,int)); 33027a0395d0Smrg va_end (v); 33037a0395d0Smrg return s; 33047a0395d0Smrg} 33057a0395d0Smrg 33067a0395d0Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 33077a0395d0Smrg function prototypes and stuff, but not '\xHH' hex character constants. 33087a0395d0Smrg These don't provoke an error unfortunately, instead are silently treated 33097a0395d0Smrg as 'x'. The following induces an error, until -std is added to get 33107a0395d0Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 33117a0395d0Smrg array size at least. It's necessary to write '\x00'==0 to get something 33127a0395d0Smrg that's true only with -std. */ 33137a0395d0Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 33147a0395d0Smrg 33157a0395d0Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 33167a0395d0Smrg inside strings and character constants. */ 33177a0395d0Smrg#define FOO(x) 'x' 33187a0395d0Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 33197a0395d0Smrg 33207a0395d0Smrgint test (int i, double x); 33217a0395d0Smrgstruct s1 {int (*f) (int a);}; 33227a0395d0Smrgstruct s2 {int (*f) (double a);}; 33237a0395d0Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 33247a0395d0Smrgint argc; 33257a0395d0Smrgchar **argv; 33267a0395d0Smrgint 33277a0395d0Smrgmain () 33287a0395d0Smrg{ 33297a0395d0Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 33307a0395d0Smrg ; 33317a0395d0Smrg return 0; 33327a0395d0Smrg} 33337a0395d0Smrg_ACEOF 33347a0395d0Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 33357a0395d0Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 33367a0395d0Smrgdo 33377a0395d0Smrg CC="$ac_save_CC $ac_arg" 33387a0395d0Smrg rm -f conftest.$ac_objext 33397a0395d0Smrgif { (ac_try="$ac_compile" 33407a0395d0Smrgcase "(($ac_try" in 33417a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 33427a0395d0Smrg *) ac_try_echo=$ac_try;; 33437a0395d0Smrgesac 33447366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 33457366012aSmrg$as_echo "$ac_try_echo") >&5 33467a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 33477a0395d0Smrg ac_status=$? 33487a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 33497a0395d0Smrg rm -f conftest.er1 33507a0395d0Smrg cat conftest.err >&5 33517366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 33527a0395d0Smrg (exit $ac_status); } && { 33537a0395d0Smrg test -z "$ac_c_werror_flag" || 33547a0395d0Smrg test ! -s conftest.err 33557a0395d0Smrg } && test -s conftest.$ac_objext; then 33567a0395d0Smrg ac_cv_prog_cc_c89=$ac_arg 33577a0395d0Smrgelse 33587366012aSmrg $as_echo "$as_me: failed program was:" >&5 33597a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 33607a0395d0Smrg 33617a0395d0Smrg 33627a0395d0Smrgfi 33637a0395d0Smrg 33647a0395d0Smrgrm -f core conftest.err conftest.$ac_objext 33657a0395d0Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 33667a0395d0Smrgdone 33677a0395d0Smrgrm -f conftest.$ac_ext 33687a0395d0SmrgCC=$ac_save_CC 33697a0395d0Smrg 33707a0395d0Smrgfi 33717a0395d0Smrg# AC_CACHE_VAL 33727a0395d0Smrgcase "x$ac_cv_prog_cc_c89" in 33737a0395d0Smrg x) 33747366012aSmrg { $as_echo "$as_me:$LINENO: result: none needed" >&5 33757366012aSmrg$as_echo "none needed" >&6; } ;; 33767a0395d0Smrg xno) 33777366012aSmrg { $as_echo "$as_me:$LINENO: result: unsupported" >&5 33787366012aSmrg$as_echo "unsupported" >&6; } ;; 33797a0395d0Smrg *) 33807a0395d0Smrg CC="$CC $ac_cv_prog_cc_c89" 33817366012aSmrg { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 33827366012aSmrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 33837a0395d0Smrgesac 33847a0395d0Smrg 33857a0395d0Smrg 33867a0395d0Smrgac_ext=c 33877a0395d0Smrgac_cpp='$CPP $CPPFLAGS' 33887a0395d0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 33897a0395d0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 33907a0395d0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 33917a0395d0SmrgDEPDIR="${am__leading_dot}deps" 33927a0395d0Smrg 33937a0395d0Smrgac_config_commands="$ac_config_commands depfiles" 33947a0395d0Smrg 33957a0395d0Smrg 33967a0395d0Smrgam_make=${MAKE-make} 33977a0395d0Smrgcat > confinc << 'END' 33987a0395d0Smrgam__doit: 33997366012aSmrg @echo this is the am__doit target 34007a0395d0Smrg.PHONY: am__doit 34017a0395d0SmrgEND 34027a0395d0Smrg# If we don't find an include directive, just comment out the code. 34037366012aSmrg{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 34047366012aSmrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 34057a0395d0Smrgam__include="#" 34067a0395d0Smrgam__quote= 34077a0395d0Smrg_am_result=none 34087a0395d0Smrg# First try GNU make style include. 34097a0395d0Smrgecho "include confinc" > confmf 34107366012aSmrg# Ignore all kinds of additional output from `make'. 34117366012aSmrgcase `$am_make -s -f confmf 2> /dev/null` in #( 34127366012aSmrg*the\ am__doit\ target*) 34137366012aSmrg am__include=include 34147366012aSmrg am__quote= 34157366012aSmrg _am_result=GNU 34167366012aSmrg ;; 34177366012aSmrgesac 34187a0395d0Smrg# Now try BSD make style include. 34197a0395d0Smrgif test "$am__include" = "#"; then 34207a0395d0Smrg echo '.include "confinc"' > confmf 34217366012aSmrg case `$am_make -s -f confmf 2> /dev/null` in #( 34227366012aSmrg *the\ am__doit\ target*) 34237366012aSmrg am__include=.include 34247366012aSmrg am__quote="\"" 34257366012aSmrg _am_result=BSD 34267366012aSmrg ;; 34277366012aSmrg esac 34287a0395d0Smrgfi 34297a0395d0Smrg 34307a0395d0Smrg 34317366012aSmrg{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 34327366012aSmrg$as_echo "$_am_result" >&6; } 34337a0395d0Smrgrm -f confinc confmf 34347a0395d0Smrg 34357a0395d0Smrg# Check whether --enable-dependency-tracking was given. 34367a0395d0Smrgif test "${enable_dependency_tracking+set}" = set; then 34377a0395d0Smrg enableval=$enable_dependency_tracking; 34387a0395d0Smrgfi 34397a0395d0Smrg 34407a0395d0Smrgif test "x$enable_dependency_tracking" != xno; then 34417a0395d0Smrg am_depcomp="$ac_aux_dir/depcomp" 34427a0395d0Smrg AMDEPBACKSLASH='\' 34437a0395d0Smrgfi 34447a0395d0Smrg if test "x$enable_dependency_tracking" != xno; then 34457a0395d0Smrg AMDEP_TRUE= 34467a0395d0Smrg AMDEP_FALSE='#' 34477a0395d0Smrgelse 34487a0395d0Smrg AMDEP_TRUE='#' 34497a0395d0Smrg AMDEP_FALSE= 34507a0395d0Smrgfi 34517a0395d0Smrg 34527a0395d0Smrg 34537a0395d0Smrg 34547a0395d0Smrgdepcc="$CC" am_compiler_list= 34557a0395d0Smrg 34567366012aSmrg{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 34577366012aSmrg$as_echo_n "checking dependency style of $depcc... " >&6; } 34587a0395d0Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 34597366012aSmrg $as_echo_n "(cached) " >&6 34607a0395d0Smrgelse 34617a0395d0Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 34627a0395d0Smrg # We make a subdir and do the tests there. Otherwise we can end up 34637a0395d0Smrg # making bogus files that we don't know about and never remove. For 34647a0395d0Smrg # instance it was reported that on HP-UX the gcc test will end up 34657a0395d0Smrg # making a dummy file named `D' -- because `-MD' means `put the output 34667a0395d0Smrg # in D'. 34677a0395d0Smrg mkdir conftest.dir 34687a0395d0Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 34697a0395d0Smrg # using a relative directory. 34707a0395d0Smrg cp "$am_depcomp" conftest.dir 34717a0395d0Smrg cd conftest.dir 34727a0395d0Smrg # We will build objects and dependencies in a subdirectory because 34737a0395d0Smrg # it helps to detect inapplicable dependency modes. For instance 34747a0395d0Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 34757a0395d0Smrg # side effect of compilation, but ICC will put the dependencies in 34767a0395d0Smrg # the current directory while Tru64 will put them in the object 34777a0395d0Smrg # directory. 34787a0395d0Smrg mkdir sub 34797a0395d0Smrg 34807a0395d0Smrg am_cv_CC_dependencies_compiler_type=none 34817a0395d0Smrg if test "$am_compiler_list" = ""; then 34827a0395d0Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 34837a0395d0Smrg fi 34847366012aSmrg am__universal=false 34857366012aSmrg case " $depcc " in #( 34867366012aSmrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 34877366012aSmrg esac 34887366012aSmrg 34897a0395d0Smrg for depmode in $am_compiler_list; do 34907a0395d0Smrg # Setup a source with many dependencies, because some compilers 34917a0395d0Smrg # like to wrap large dependency lists on column 80 (with \), and 34927a0395d0Smrg # we should not choose a depcomp mode which is confused by this. 34937a0395d0Smrg # 34947a0395d0Smrg # We need to recreate these files for each test, as the compiler may 34957a0395d0Smrg # overwrite some of them when testing with obscure command lines. 34967a0395d0Smrg # This happens at least with the AIX C compiler. 34977a0395d0Smrg : > sub/conftest.c 34987a0395d0Smrg for i in 1 2 3 4 5 6; do 34997a0395d0Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 35007a0395d0Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 35017a0395d0Smrg # Solaris 8's {/usr,}/bin/sh. 35027a0395d0Smrg touch sub/conftst$i.h 35037a0395d0Smrg done 35047a0395d0Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 35057a0395d0Smrg 35067366012aSmrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 35077366012aSmrg # mode. It turns out that the SunPro C++ compiler does not properly 35087366012aSmrg # handle `-M -o', and we need to detect this. Also, some Intel 35097366012aSmrg # versions had trouble with output in subdirs 35107366012aSmrg am__obj=sub/conftest.${OBJEXT-o} 35117366012aSmrg am__minus_obj="-o $am__obj" 35127a0395d0Smrg case $depmode in 35137366012aSmrg gcc) 35147366012aSmrg # This depmode causes a compiler race in universal mode. 35157366012aSmrg test "$am__universal" = false || continue 35167366012aSmrg ;; 35177a0395d0Smrg nosideeffect) 35187a0395d0Smrg # after this tag, mechanisms are not by side-effect, so they'll 35197a0395d0Smrg # only be used when explicitly requested 35207a0395d0Smrg if test "x$enable_dependency_tracking" = xyes; then 35217a0395d0Smrg continue 35227a0395d0Smrg else 35237a0395d0Smrg break 35247a0395d0Smrg fi 35257a0395d0Smrg ;; 35267366012aSmrg msvisualcpp | msvcmsys) 35277366012aSmrg # This compiler won't grok `-c -o', but also, the minuso test has 35287366012aSmrg # not run yet. These depmodes are late enough in the game, and 35297366012aSmrg # so weak that their functioning should not be impacted. 35307366012aSmrg am__obj=conftest.${OBJEXT-o} 35317366012aSmrg am__minus_obj= 35327366012aSmrg ;; 35337a0395d0Smrg none) break ;; 35347a0395d0Smrg esac 35357a0395d0Smrg if depmode=$depmode \ 35367366012aSmrg source=sub/conftest.c object=$am__obj \ 35377a0395d0Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 35387366012aSmrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 35397a0395d0Smrg >/dev/null 2>conftest.err && 35407a0395d0Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 35417a0395d0Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 35427366012aSmrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 35437a0395d0Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 35447a0395d0Smrg # icc doesn't choke on unknown options, it will just issue warnings 35457a0395d0Smrg # or remarks (even with -Werror). So we grep stderr for any message 35467a0395d0Smrg # that says an option was ignored or not supported. 35477a0395d0Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 35487a0395d0Smrg # icc: Command line warning: ignoring option '-M'; no argument required 35497a0395d0Smrg # The diagnosis changed in icc 8.0: 35507a0395d0Smrg # icc: Command line remark: option '-MP' not supported 35517a0395d0Smrg if (grep 'ignoring option' conftest.err || 35527a0395d0Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 35537a0395d0Smrg am_cv_CC_dependencies_compiler_type=$depmode 35547a0395d0Smrg break 35557a0395d0Smrg fi 35567a0395d0Smrg fi 35577a0395d0Smrg done 35587a0395d0Smrg 35597a0395d0Smrg cd .. 35607a0395d0Smrg rm -rf conftest.dir 35617a0395d0Smrgelse 35627a0395d0Smrg am_cv_CC_dependencies_compiler_type=none 35637a0395d0Smrgfi 35647a0395d0Smrg 35657a0395d0Smrgfi 35667366012aSmrg{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 35677366012aSmrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 35687a0395d0SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 35697a0395d0Smrg 35707a0395d0Smrg if 35717a0395d0Smrg test "x$enable_dependency_tracking" != xno \ 35727a0395d0Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 35737a0395d0Smrg am__fastdepCC_TRUE= 35747a0395d0Smrg am__fastdepCC_FALSE='#' 35757a0395d0Smrgelse 35767a0395d0Smrg am__fastdepCC_TRUE='#' 35777a0395d0Smrg am__fastdepCC_FALSE= 35787a0395d0Smrgfi 35797a0395d0Smrg 35807a0395d0Smrg 35817a0395d0Smrg# Find a good install program. We prefer a C program (faster), 35827a0395d0Smrg# so one script is as good as another. But avoid the broken or 35837a0395d0Smrg# incompatible versions: 35847a0395d0Smrg# SysV /etc/install, /usr/sbin/install 35857a0395d0Smrg# SunOS /usr/etc/install 35867a0395d0Smrg# IRIX /sbin/install 35877a0395d0Smrg# AIX /bin/install 35887a0395d0Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 35897a0395d0Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 35907a0395d0Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 35917a0395d0Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 35927a0395d0Smrg# OS/2's system install, which has a completely different semantic 35937a0395d0Smrg# ./install, which can be erroneously created by make from ./install.sh. 35947366012aSmrg# Reject install programs that cannot install multiple files. 35957366012aSmrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 35967366012aSmrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 35977a0395d0Smrgif test -z "$INSTALL"; then 35987a0395d0Smrgif test "${ac_cv_path_install+set}" = set; then 35997366012aSmrg $as_echo_n "(cached) " >&6 36007a0395d0Smrgelse 36017a0395d0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 36027a0395d0Smrgfor as_dir in $PATH 36037a0395d0Smrgdo 36047a0395d0Smrg IFS=$as_save_IFS 36057a0395d0Smrg test -z "$as_dir" && as_dir=. 36067a0395d0Smrg # Account for people who put trailing slashes in PATH elements. 36077a0395d0Smrgcase $as_dir/ in 36087a0395d0Smrg ./ | .// | /cC/* | \ 36097a0395d0Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 36107a0395d0Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 36117a0395d0Smrg /usr/ucb/* ) ;; 36127a0395d0Smrg *) 36137a0395d0Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 36147a0395d0Smrg # Don't use installbsd from OSF since it installs stuff as root 36157a0395d0Smrg # by default. 36167a0395d0Smrg for ac_prog in ginstall scoinst install; do 36177a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 36187a0395d0Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 36197a0395d0Smrg if test $ac_prog = install && 36207a0395d0Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 36217a0395d0Smrg # AIX install. It has an incompatible calling convention. 36227a0395d0Smrg : 36237a0395d0Smrg elif test $ac_prog = install && 36247a0395d0Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 36257a0395d0Smrg # program-specific install script used by HP pwplus--don't use. 36267a0395d0Smrg : 36277a0395d0Smrg else 36287366012aSmrg rm -rf conftest.one conftest.two conftest.dir 36297366012aSmrg echo one > conftest.one 36307366012aSmrg echo two > conftest.two 36317366012aSmrg mkdir conftest.dir 36327366012aSmrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 36337366012aSmrg test -s conftest.one && test -s conftest.two && 36347366012aSmrg test -s conftest.dir/conftest.one && 36357366012aSmrg test -s conftest.dir/conftest.two 36367366012aSmrg then 36377366012aSmrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 36387366012aSmrg break 3 36397366012aSmrg fi 36407a0395d0Smrg fi 36417a0395d0Smrg fi 36427a0395d0Smrg done 36437a0395d0Smrg done 36447a0395d0Smrg ;; 36457a0395d0Smrgesac 36467366012aSmrg 36477a0395d0Smrgdone 36487a0395d0SmrgIFS=$as_save_IFS 36497a0395d0Smrg 36507366012aSmrgrm -rf conftest.one conftest.two conftest.dir 36517a0395d0Smrg 36527a0395d0Smrgfi 36537a0395d0Smrg if test "${ac_cv_path_install+set}" = set; then 36547a0395d0Smrg INSTALL=$ac_cv_path_install 36557a0395d0Smrg else 36567a0395d0Smrg # As a last resort, use the slow shell script. Don't cache a 36577a0395d0Smrg # value for INSTALL within a source directory, because that will 36587a0395d0Smrg # break other packages using the cache if that directory is 36597a0395d0Smrg # removed, or if the value is a relative name. 36607a0395d0Smrg INSTALL=$ac_install_sh 36617a0395d0Smrg fi 36627a0395d0Smrgfi 36637366012aSmrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 36647366012aSmrg$as_echo "$INSTALL" >&6; } 36657a0395d0Smrg 36667a0395d0Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 36677a0395d0Smrg# It thinks the first close brace ends the variable substitution. 36687a0395d0Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 36697a0395d0Smrg 36707a0395d0Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 36717a0395d0Smrg 36727a0395d0Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 36737a0395d0Smrg 36747a0395d0Smrg 36757a0395d0Smrg 36767366012aSmrgac_ext=c 36777366012aSmrgac_cpp='$CPP $CPPFLAGS' 36787366012aSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36797366012aSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36807366012aSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 36817366012aSmrg{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 36827366012aSmrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 36837366012aSmrg# On Suns, sometimes $CPP names a directory. 36847366012aSmrgif test -n "$CPP" && test -d "$CPP"; then 36857366012aSmrg CPP= 36867366012aSmrgfi 36877366012aSmrgif test -z "$CPP"; then 36887366012aSmrg if test "${ac_cv_prog_CPP+set}" = set; then 36897366012aSmrg $as_echo_n "(cached) " >&6 36907a0395d0Smrgelse 36917366012aSmrg # Double quotes because CPP needs to be expanded 36927366012aSmrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 36937366012aSmrg do 36947366012aSmrg ac_preproc_ok=false 36957366012aSmrgfor ac_c_preproc_warn_flag in '' yes 36967366012aSmrgdo 36977366012aSmrg # Use a header file that comes with gcc, so configuring glibc 36987366012aSmrg # with a fresh cross-compiler works. 36997366012aSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 37007366012aSmrg # <limits.h> exists even on freestanding compilers. 37017366012aSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 37027366012aSmrg # not just through cpp. "Syntax error" is here to catch this case. 37037a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 37047a0395d0Smrg/* confdefs.h. */ 37057a0395d0Smrg_ACEOF 37067a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 37077a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 37087a0395d0Smrg/* end confdefs.h. */ 37097a0395d0Smrg#ifdef __STDC__ 37107a0395d0Smrg# include <limits.h> 37117a0395d0Smrg#else 37127a0395d0Smrg# include <assert.h> 37137a0395d0Smrg#endif 37147a0395d0Smrg Syntax error 37157a0395d0Smrg_ACEOF 37167a0395d0Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 37177a0395d0Smrgcase "(($ac_try" in 37187a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 37197a0395d0Smrg *) ac_try_echo=$ac_try;; 37207a0395d0Smrgesac 37217366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 37227366012aSmrg$as_echo "$ac_try_echo") >&5 37237a0395d0Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 37247a0395d0Smrg ac_status=$? 37257a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 37267a0395d0Smrg rm -f conftest.er1 37277a0395d0Smrg cat conftest.err >&5 37287366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 37297a0395d0Smrg (exit $ac_status); } >/dev/null && { 37307a0395d0Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 37317a0395d0Smrg test ! -s conftest.err 37327a0395d0Smrg }; then 37337a0395d0Smrg : 37347a0395d0Smrgelse 37357366012aSmrg $as_echo "$as_me: failed program was:" >&5 37367a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 37377a0395d0Smrg 37387a0395d0Smrg # Broken: fails on valid input. 37397a0395d0Smrgcontinue 37407a0395d0Smrgfi 37417a0395d0Smrg 37427a0395d0Smrgrm -f conftest.err conftest.$ac_ext 37437a0395d0Smrg 37447a0395d0Smrg # OK, works on sane cases. Now check whether nonexistent headers 37457a0395d0Smrg # can be detected and how. 37467a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 37477a0395d0Smrg/* confdefs.h. */ 37487a0395d0Smrg_ACEOF 37497a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 37507a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 37517a0395d0Smrg/* end confdefs.h. */ 37527a0395d0Smrg#include <ac_nonexistent.h> 37537a0395d0Smrg_ACEOF 37547a0395d0Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 37557a0395d0Smrgcase "(($ac_try" in 37567a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 37577a0395d0Smrg *) ac_try_echo=$ac_try;; 37587a0395d0Smrgesac 37597366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 37607366012aSmrg$as_echo "$ac_try_echo") >&5 37617a0395d0Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 37627a0395d0Smrg ac_status=$? 37637a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 37647a0395d0Smrg rm -f conftest.er1 37657a0395d0Smrg cat conftest.err >&5 37667366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 37677a0395d0Smrg (exit $ac_status); } >/dev/null && { 37687a0395d0Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 37697a0395d0Smrg test ! -s conftest.err 37707a0395d0Smrg }; then 37717a0395d0Smrg # Broken: success on invalid input. 37727a0395d0Smrgcontinue 37737a0395d0Smrgelse 37747366012aSmrg $as_echo "$as_me: failed program was:" >&5 37757a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 37767a0395d0Smrg 37777a0395d0Smrg # Passes both tests. 37787a0395d0Smrgac_preproc_ok=: 37797a0395d0Smrgbreak 37807a0395d0Smrgfi 37817a0395d0Smrg 37827a0395d0Smrgrm -f conftest.err conftest.$ac_ext 37837a0395d0Smrg 37847a0395d0Smrgdone 37857a0395d0Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 37867a0395d0Smrgrm -f conftest.err conftest.$ac_ext 37877a0395d0Smrgif $ac_preproc_ok; then 37887a0395d0Smrg break 37897a0395d0Smrgfi 37907a0395d0Smrg 37917a0395d0Smrg done 37927a0395d0Smrg ac_cv_prog_CPP=$CPP 37937a0395d0Smrg 37947a0395d0Smrgfi 37957a0395d0Smrg CPP=$ac_cv_prog_CPP 37967a0395d0Smrgelse 37977a0395d0Smrg ac_cv_prog_CPP=$CPP 37987a0395d0Smrgfi 37997366012aSmrg{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 38007366012aSmrg$as_echo "$CPP" >&6; } 38017a0395d0Smrgac_preproc_ok=false 38027a0395d0Smrgfor ac_c_preproc_warn_flag in '' yes 38037a0395d0Smrgdo 38047a0395d0Smrg # Use a header file that comes with gcc, so configuring glibc 38057a0395d0Smrg # with a fresh cross-compiler works. 38067a0395d0Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 38077a0395d0Smrg # <limits.h> exists even on freestanding compilers. 38087a0395d0Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 38097a0395d0Smrg # not just through cpp. "Syntax error" is here to catch this case. 38107a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 38117a0395d0Smrg/* confdefs.h. */ 38127a0395d0Smrg_ACEOF 38137a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 38147a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 38157a0395d0Smrg/* end confdefs.h. */ 38167a0395d0Smrg#ifdef __STDC__ 38177a0395d0Smrg# include <limits.h> 38187a0395d0Smrg#else 38197a0395d0Smrg# include <assert.h> 38207a0395d0Smrg#endif 38217a0395d0Smrg Syntax error 38227a0395d0Smrg_ACEOF 38237a0395d0Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 38247a0395d0Smrgcase "(($ac_try" in 38257a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 38267a0395d0Smrg *) ac_try_echo=$ac_try;; 38277a0395d0Smrgesac 38287366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 38297366012aSmrg$as_echo "$ac_try_echo") >&5 38307a0395d0Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 38317a0395d0Smrg ac_status=$? 38327a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 38337a0395d0Smrg rm -f conftest.er1 38347a0395d0Smrg cat conftest.err >&5 38357366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 38367a0395d0Smrg (exit $ac_status); } >/dev/null && { 38377a0395d0Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 38387a0395d0Smrg test ! -s conftest.err 38397a0395d0Smrg }; then 38407a0395d0Smrg : 38417a0395d0Smrgelse 38427366012aSmrg $as_echo "$as_me: failed program was:" >&5 38437a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 38447a0395d0Smrg 38457a0395d0Smrg # Broken: fails on valid input. 38467a0395d0Smrgcontinue 38477a0395d0Smrgfi 38487a0395d0Smrg 38497a0395d0Smrgrm -f conftest.err conftest.$ac_ext 38507a0395d0Smrg 38517a0395d0Smrg # OK, works on sane cases. Now check whether nonexistent headers 38527a0395d0Smrg # can be detected and how. 38537a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 38547a0395d0Smrg/* confdefs.h. */ 38557a0395d0Smrg_ACEOF 38567a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 38577a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 38587a0395d0Smrg/* end confdefs.h. */ 38597a0395d0Smrg#include <ac_nonexistent.h> 38607a0395d0Smrg_ACEOF 38617a0395d0Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 38627a0395d0Smrgcase "(($ac_try" in 38637a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 38647a0395d0Smrg *) ac_try_echo=$ac_try;; 38657a0395d0Smrgesac 38667366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 38677366012aSmrg$as_echo "$ac_try_echo") >&5 38687a0395d0Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 38697a0395d0Smrg ac_status=$? 38707a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 38717a0395d0Smrg rm -f conftest.er1 38727a0395d0Smrg cat conftest.err >&5 38737366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 38747a0395d0Smrg (exit $ac_status); } >/dev/null && { 38757a0395d0Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 38767a0395d0Smrg test ! -s conftest.err 38777a0395d0Smrg }; then 38787a0395d0Smrg # Broken: success on invalid input. 38797a0395d0Smrgcontinue 38807a0395d0Smrgelse 38817366012aSmrg $as_echo "$as_me: failed program was:" >&5 38827a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 38837a0395d0Smrg 38847a0395d0Smrg # Passes both tests. 38857a0395d0Smrgac_preproc_ok=: 38867a0395d0Smrgbreak 38877a0395d0Smrgfi 38887a0395d0Smrg 38897a0395d0Smrgrm -f conftest.err conftest.$ac_ext 38907a0395d0Smrg 38917a0395d0Smrgdone 38927a0395d0Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 38937a0395d0Smrgrm -f conftest.err conftest.$ac_ext 38947a0395d0Smrgif $ac_preproc_ok; then 38957a0395d0Smrg : 38967a0395d0Smrgelse 38977366012aSmrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 38987366012aSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 38997366012aSmrg{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 39007a0395d0SmrgSee \`config.log' for more details." >&5 39017366012aSmrg$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 39027a0395d0SmrgSee \`config.log' for more details." >&2;} 39037366012aSmrg { (exit 1); exit 1; }; }; } 39047a0395d0Smrgfi 39057a0395d0Smrg 39067a0395d0Smrgac_ext=c 39077a0395d0Smrgac_cpp='$CPP $CPPFLAGS' 39087a0395d0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 39097a0395d0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 39107a0395d0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 39117a0395d0Smrg 39127a0395d0Smrg 39137366012aSmrg{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 39147366012aSmrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 39157a0395d0Smrgif test "${ac_cv_path_GREP+set}" = set; then 39167366012aSmrg $as_echo_n "(cached) " >&6 39177a0395d0Smrgelse 39187366012aSmrg if test -z "$GREP"; then 39197a0395d0Smrg ac_path_GREP_found=false 39207366012aSmrg # Loop through the user's path and test for each of PROGNAME-LIST 39217366012aSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 39227a0395d0Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 39237a0395d0Smrgdo 39247a0395d0Smrg IFS=$as_save_IFS 39257a0395d0Smrg test -z "$as_dir" && as_dir=. 39267a0395d0Smrg for ac_prog in grep ggrep; do 39277366012aSmrg for ac_exec_ext in '' $ac_executable_extensions; do 39287366012aSmrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 39297366012aSmrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 39307366012aSmrg# Check for GNU ac_path_GREP and select it if it is found. 39317a0395d0Smrg # Check for GNU $ac_path_GREP 39327a0395d0Smrgcase `"$ac_path_GREP" --version 2>&1` in 39337a0395d0Smrg*GNU*) 39347a0395d0Smrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 39357a0395d0Smrg*) 39367a0395d0Smrg ac_count=0 39377366012aSmrg $as_echo_n 0123456789 >"conftest.in" 39387a0395d0Smrg while : 39397a0395d0Smrg do 39407a0395d0Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 39417a0395d0Smrg mv "conftest.tmp" "conftest.in" 39427a0395d0Smrg cp "conftest.in" "conftest.nl" 39437366012aSmrg $as_echo 'GREP' >> "conftest.nl" 39447a0395d0Smrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 39457a0395d0Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 39467a0395d0Smrg ac_count=`expr $ac_count + 1` 39477a0395d0Smrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 39487a0395d0Smrg # Best one so far, save it but keep looking for a better one 39497a0395d0Smrg ac_cv_path_GREP="$ac_path_GREP" 39507a0395d0Smrg ac_path_GREP_max=$ac_count 39517a0395d0Smrg fi 39527a0395d0Smrg # 10*(2^10) chars as input seems more than enough 39537a0395d0Smrg test $ac_count -gt 10 && break 39547a0395d0Smrg done 39557a0395d0Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 39567a0395d0Smrgesac 39577a0395d0Smrg 39587366012aSmrg $ac_path_GREP_found && break 3 39597366012aSmrg done 39607a0395d0Smrg done 39617a0395d0Smrgdone 39627a0395d0SmrgIFS=$as_save_IFS 39637366012aSmrg if test -z "$ac_cv_path_GREP"; then 39647366012aSmrg { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 39657366012aSmrg$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 39667a0395d0Smrg { (exit 1); exit 1; }; } 39677366012aSmrg fi 39687a0395d0Smrgelse 39697a0395d0Smrg ac_cv_path_GREP=$GREP 39707a0395d0Smrgfi 39717a0395d0Smrg 39727a0395d0Smrgfi 39737366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 39747366012aSmrg$as_echo "$ac_cv_path_GREP" >&6; } 39757a0395d0Smrg GREP="$ac_cv_path_GREP" 39767a0395d0Smrg 39777a0395d0Smrg 39787366012aSmrg{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 39797366012aSmrg$as_echo_n "checking for egrep... " >&6; } 39807a0395d0Smrgif test "${ac_cv_path_EGREP+set}" = set; then 39817366012aSmrg $as_echo_n "(cached) " >&6 39827a0395d0Smrgelse 39837a0395d0Smrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 39847a0395d0Smrg then ac_cv_path_EGREP="$GREP -E" 39857a0395d0Smrg else 39867366012aSmrg if test -z "$EGREP"; then 39877a0395d0Smrg ac_path_EGREP_found=false 39887366012aSmrg # Loop through the user's path and test for each of PROGNAME-LIST 39897366012aSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 39907a0395d0Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 39917a0395d0Smrgdo 39927a0395d0Smrg IFS=$as_save_IFS 39937a0395d0Smrg test -z "$as_dir" && as_dir=. 39947a0395d0Smrg for ac_prog in egrep; do 39957366012aSmrg for ac_exec_ext in '' $ac_executable_extensions; do 39967366012aSmrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 39977366012aSmrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 39987366012aSmrg# Check for GNU ac_path_EGREP and select it if it is found. 39997a0395d0Smrg # Check for GNU $ac_path_EGREP 40007a0395d0Smrgcase `"$ac_path_EGREP" --version 2>&1` in 40017a0395d0Smrg*GNU*) 40027a0395d0Smrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 40037a0395d0Smrg*) 40047a0395d0Smrg ac_count=0 40057366012aSmrg $as_echo_n 0123456789 >"conftest.in" 40067a0395d0Smrg while : 40077a0395d0Smrg do 40087a0395d0Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 40097a0395d0Smrg mv "conftest.tmp" "conftest.in" 40107a0395d0Smrg cp "conftest.in" "conftest.nl" 40117366012aSmrg $as_echo 'EGREP' >> "conftest.nl" 40127a0395d0Smrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 40137a0395d0Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 40147a0395d0Smrg ac_count=`expr $ac_count + 1` 40157a0395d0Smrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 40167a0395d0Smrg # Best one so far, save it but keep looking for a better one 40177a0395d0Smrg ac_cv_path_EGREP="$ac_path_EGREP" 40187a0395d0Smrg ac_path_EGREP_max=$ac_count 40197a0395d0Smrg fi 40207a0395d0Smrg # 10*(2^10) chars as input seems more than enough 40217a0395d0Smrg test $ac_count -gt 10 && break 40227a0395d0Smrg done 40237a0395d0Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 40247a0395d0Smrgesac 40257a0395d0Smrg 40267366012aSmrg $ac_path_EGREP_found && break 3 40277366012aSmrg done 40287a0395d0Smrg done 40297a0395d0Smrgdone 40307a0395d0SmrgIFS=$as_save_IFS 40317366012aSmrg if test -z "$ac_cv_path_EGREP"; then 40327366012aSmrg { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 40337366012aSmrg$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 40347a0395d0Smrg { (exit 1); exit 1; }; } 40357366012aSmrg fi 40367a0395d0Smrgelse 40377a0395d0Smrg ac_cv_path_EGREP=$EGREP 40387a0395d0Smrgfi 40397a0395d0Smrg 40407a0395d0Smrg fi 40417a0395d0Smrgfi 40427366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 40437366012aSmrg$as_echo "$ac_cv_path_EGREP" >&6; } 40447a0395d0Smrg EGREP="$ac_cv_path_EGREP" 40457a0395d0Smrg 40467a0395d0Smrg 40477366012aSmrg{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 40487366012aSmrg$as_echo_n "checking for ANSI C header files... " >&6; } 40497a0395d0Smrgif test "${ac_cv_header_stdc+set}" = set; then 40507366012aSmrg $as_echo_n "(cached) " >&6 40517a0395d0Smrgelse 40527a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 40537a0395d0Smrg/* confdefs.h. */ 40547a0395d0Smrg_ACEOF 40557a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 40567a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 40577a0395d0Smrg/* end confdefs.h. */ 40587a0395d0Smrg#include <stdlib.h> 40597a0395d0Smrg#include <stdarg.h> 40607a0395d0Smrg#include <string.h> 40617a0395d0Smrg#include <float.h> 40627a0395d0Smrg 40637a0395d0Smrgint 40647a0395d0Smrgmain () 40657a0395d0Smrg{ 40667a0395d0Smrg 40677a0395d0Smrg ; 40687a0395d0Smrg return 0; 40697a0395d0Smrg} 40707a0395d0Smrg_ACEOF 40717a0395d0Smrgrm -f conftest.$ac_objext 40727a0395d0Smrgif { (ac_try="$ac_compile" 40737a0395d0Smrgcase "(($ac_try" in 40747a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 40757a0395d0Smrg *) ac_try_echo=$ac_try;; 40767a0395d0Smrgesac 40777366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 40787366012aSmrg$as_echo "$ac_try_echo") >&5 40797a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 40807a0395d0Smrg ac_status=$? 40817a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 40827a0395d0Smrg rm -f conftest.er1 40837a0395d0Smrg cat conftest.err >&5 40847366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 40857a0395d0Smrg (exit $ac_status); } && { 40867a0395d0Smrg test -z "$ac_c_werror_flag" || 40877a0395d0Smrg test ! -s conftest.err 40887a0395d0Smrg } && test -s conftest.$ac_objext; then 40897a0395d0Smrg ac_cv_header_stdc=yes 40907a0395d0Smrgelse 40917366012aSmrg $as_echo "$as_me: failed program was:" >&5 40927a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 40937a0395d0Smrg 40947a0395d0Smrg ac_cv_header_stdc=no 40957a0395d0Smrgfi 40967a0395d0Smrg 40977a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 40987a0395d0Smrg 40997a0395d0Smrgif test $ac_cv_header_stdc = yes; then 41007a0395d0Smrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 41017a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 41027a0395d0Smrg/* confdefs.h. */ 41037a0395d0Smrg_ACEOF 41047a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 41057a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 41067a0395d0Smrg/* end confdefs.h. */ 41077a0395d0Smrg#include <string.h> 41087a0395d0Smrg 41097a0395d0Smrg_ACEOF 41107a0395d0Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 41117a0395d0Smrg $EGREP "memchr" >/dev/null 2>&1; then 41127a0395d0Smrg : 41137a0395d0Smrgelse 41147a0395d0Smrg ac_cv_header_stdc=no 41157a0395d0Smrgfi 41167a0395d0Smrgrm -f conftest* 41177a0395d0Smrg 41187a0395d0Smrgfi 41197a0395d0Smrg 41207a0395d0Smrgif test $ac_cv_header_stdc = yes; then 41217a0395d0Smrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 41227a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 41237a0395d0Smrg/* confdefs.h. */ 41247a0395d0Smrg_ACEOF 41257a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 41267a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 41277a0395d0Smrg/* end confdefs.h. */ 41287a0395d0Smrg#include <stdlib.h> 41297a0395d0Smrg 41307a0395d0Smrg_ACEOF 41317a0395d0Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 41327a0395d0Smrg $EGREP "free" >/dev/null 2>&1; then 41337a0395d0Smrg : 41347a0395d0Smrgelse 41357a0395d0Smrg ac_cv_header_stdc=no 41367a0395d0Smrgfi 41377a0395d0Smrgrm -f conftest* 41387a0395d0Smrg 41397a0395d0Smrgfi 41407a0395d0Smrg 41417a0395d0Smrgif test $ac_cv_header_stdc = yes; then 41427a0395d0Smrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 41437a0395d0Smrg if test "$cross_compiling" = yes; then 41447a0395d0Smrg : 41457a0395d0Smrgelse 41467a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 41477a0395d0Smrg/* confdefs.h. */ 41487a0395d0Smrg_ACEOF 41497a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 41507a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 41517a0395d0Smrg/* end confdefs.h. */ 41527a0395d0Smrg#include <ctype.h> 41537a0395d0Smrg#include <stdlib.h> 41547a0395d0Smrg#if ((' ' & 0x0FF) == 0x020) 41557a0395d0Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 41567a0395d0Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 41577a0395d0Smrg#else 41587a0395d0Smrg# define ISLOWER(c) \ 41597a0395d0Smrg (('a' <= (c) && (c) <= 'i') \ 41607a0395d0Smrg || ('j' <= (c) && (c) <= 'r') \ 41617a0395d0Smrg || ('s' <= (c) && (c) <= 'z')) 41627a0395d0Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 41637a0395d0Smrg#endif 41647a0395d0Smrg 41657a0395d0Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 41667a0395d0Smrgint 41677a0395d0Smrgmain () 41687a0395d0Smrg{ 41697a0395d0Smrg int i; 41707a0395d0Smrg for (i = 0; i < 256; i++) 41717a0395d0Smrg if (XOR (islower (i), ISLOWER (i)) 41727a0395d0Smrg || toupper (i) != TOUPPER (i)) 41737a0395d0Smrg return 2; 41747a0395d0Smrg return 0; 41757a0395d0Smrg} 41767a0395d0Smrg_ACEOF 41777a0395d0Smrgrm -f conftest$ac_exeext 41787a0395d0Smrgif { (ac_try="$ac_link" 41797a0395d0Smrgcase "(($ac_try" in 41807a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 41817a0395d0Smrg *) ac_try_echo=$ac_try;; 41827a0395d0Smrgesac 41837366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 41847366012aSmrg$as_echo "$ac_try_echo") >&5 41857a0395d0Smrg (eval "$ac_link") 2>&5 41867a0395d0Smrg ac_status=$? 41877366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 41887a0395d0Smrg (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 41897a0395d0Smrg { (case "(($ac_try" in 41907a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 41917a0395d0Smrg *) ac_try_echo=$ac_try;; 41927a0395d0Smrgesac 41937366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 41947366012aSmrg$as_echo "$ac_try_echo") >&5 41957a0395d0Smrg (eval "$ac_try") 2>&5 41967a0395d0Smrg ac_status=$? 41977366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 41987a0395d0Smrg (exit $ac_status); }; }; then 41997a0395d0Smrg : 42007a0395d0Smrgelse 42017366012aSmrg $as_echo "$as_me: program exited with status $ac_status" >&5 42027366012aSmrg$as_echo "$as_me: failed program was:" >&5 42037a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 42047a0395d0Smrg 42057a0395d0Smrg( exit $ac_status ) 42067a0395d0Smrgac_cv_header_stdc=no 42077a0395d0Smrgfi 42087366012aSmrgrm -rf conftest.dSYM 42097a0395d0Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 42107a0395d0Smrgfi 42117a0395d0Smrg 42127a0395d0Smrg 42137a0395d0Smrgfi 42147a0395d0Smrgfi 42157366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 42167366012aSmrg$as_echo "$ac_cv_header_stdc" >&6; } 42177a0395d0Smrgif test $ac_cv_header_stdc = yes; then 42187a0395d0Smrg 42197366012aSmrgcat >>confdefs.h <<\_ACEOF 42207366012aSmrg#define STDC_HEADERS 1 42217366012aSmrg_ACEOF 42227366012aSmrg 42237366012aSmrgfi 42247366012aSmrg 42257366012aSmrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 42267366012aSmrg 42277366012aSmrg 42287366012aSmrg 42297366012aSmrg 42307366012aSmrg 42317366012aSmrg 42327366012aSmrg 42337366012aSmrg 42347366012aSmrg 42357366012aSmrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 42367366012aSmrg inttypes.h stdint.h unistd.h 42377366012aSmrgdo 42387366012aSmrgas_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 42397366012aSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 42407366012aSmrg$as_echo_n "checking for $ac_header... " >&6; } 42417366012aSmrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 42427366012aSmrg $as_echo_n "(cached) " >&6 42437366012aSmrgelse 42447366012aSmrg cat >conftest.$ac_ext <<_ACEOF 42457366012aSmrg/* confdefs.h. */ 42467366012aSmrg_ACEOF 42477366012aSmrgcat confdefs.h >>conftest.$ac_ext 42487366012aSmrgcat >>conftest.$ac_ext <<_ACEOF 42497366012aSmrg/* end confdefs.h. */ 42507366012aSmrg$ac_includes_default 42517366012aSmrg 42527366012aSmrg#include <$ac_header> 42537366012aSmrg_ACEOF 42547366012aSmrgrm -f conftest.$ac_objext 42557366012aSmrgif { (ac_try="$ac_compile" 42567366012aSmrgcase "(($ac_try" in 42577366012aSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 42587366012aSmrg *) ac_try_echo=$ac_try;; 42597366012aSmrgesac 42607366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 42617366012aSmrg$as_echo "$ac_try_echo") >&5 42627366012aSmrg (eval "$ac_compile") 2>conftest.er1 42637366012aSmrg ac_status=$? 42647366012aSmrg grep -v '^ *+' conftest.er1 >conftest.err 42657366012aSmrg rm -f conftest.er1 42667366012aSmrg cat conftest.err >&5 42677366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 42687366012aSmrg (exit $ac_status); } && { 42697366012aSmrg test -z "$ac_c_werror_flag" || 42707366012aSmrg test ! -s conftest.err 42717366012aSmrg } && test -s conftest.$ac_objext; then 42727366012aSmrg eval "$as_ac_Header=yes" 42737366012aSmrgelse 42747366012aSmrg $as_echo "$as_me: failed program was:" >&5 42757366012aSmrgsed 's/^/| /' conftest.$ac_ext >&5 42767366012aSmrg 42777366012aSmrg eval "$as_ac_Header=no" 42787366012aSmrgfi 42797366012aSmrg 42807366012aSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 42817366012aSmrgfi 42827366012aSmrgac_res=`eval 'as_val=${'$as_ac_Header'} 42837366012aSmrg $as_echo "$as_val"'` 42847366012aSmrg { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 42857366012aSmrg$as_echo "$ac_res" >&6; } 42867366012aSmrgas_val=`eval 'as_val=${'$as_ac_Header'} 42877366012aSmrg $as_echo "$as_val"'` 42887366012aSmrg if test "x$as_val" = x""yes; then 42897366012aSmrg cat >>confdefs.h <<_ACEOF 42907366012aSmrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 42917366012aSmrg_ACEOF 42927366012aSmrg 42937366012aSmrgfi 42947366012aSmrg 42957366012aSmrgdone 42967366012aSmrg 42977366012aSmrg 42987366012aSmrg { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 42997366012aSmrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 43007366012aSmrgif test "${ac_cv_prog_cc_c99+set}" = set; then 43017366012aSmrg $as_echo_n "(cached) " >&6 43027366012aSmrgelse 43037366012aSmrg ac_cv_prog_cc_c99=no 43047366012aSmrgac_save_CC=$CC 43057366012aSmrgcat >conftest.$ac_ext <<_ACEOF 43067366012aSmrg/* confdefs.h. */ 43077366012aSmrg_ACEOF 43087366012aSmrgcat confdefs.h >>conftest.$ac_ext 43097366012aSmrgcat >>conftest.$ac_ext <<_ACEOF 43107366012aSmrg/* end confdefs.h. */ 43117366012aSmrg#include <stdarg.h> 43127366012aSmrg#include <stdbool.h> 43137366012aSmrg#include <stdlib.h> 43147366012aSmrg#include <wchar.h> 43157366012aSmrg#include <stdio.h> 43167366012aSmrg 43177366012aSmrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 43187366012aSmrg#define debug(...) fprintf (stderr, __VA_ARGS__) 43197366012aSmrg#define showlist(...) puts (#__VA_ARGS__) 43207366012aSmrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 43217366012aSmrgstatic void 43227366012aSmrgtest_varargs_macros (void) 43237366012aSmrg{ 43247366012aSmrg int x = 1234; 43257366012aSmrg int y = 5678; 43267366012aSmrg debug ("Flag"); 43277366012aSmrg debug ("X = %d\n", x); 43287366012aSmrg showlist (The first, second, and third items.); 43297366012aSmrg report (x>y, "x is %d but y is %d", x, y); 43307366012aSmrg} 43317366012aSmrg 43327366012aSmrg// Check long long types. 43337366012aSmrg#define BIG64 18446744073709551615ull 43347366012aSmrg#define BIG32 4294967295ul 43357366012aSmrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 43367366012aSmrg#if !BIG_OK 43377366012aSmrg your preprocessor is broken; 43387366012aSmrg#endif 43397366012aSmrg#if BIG_OK 43407366012aSmrg#else 43417366012aSmrg your preprocessor is broken; 43427366012aSmrg#endif 43437366012aSmrgstatic long long int bignum = -9223372036854775807LL; 43447366012aSmrgstatic unsigned long long int ubignum = BIG64; 43457366012aSmrg 43467366012aSmrgstruct incomplete_array 43477366012aSmrg{ 43487366012aSmrg int datasize; 43497366012aSmrg double data[]; 43507366012aSmrg}; 43517366012aSmrg 43527366012aSmrgstruct named_init { 43537366012aSmrg int number; 43547366012aSmrg const wchar_t *name; 43557366012aSmrg double average; 43567366012aSmrg}; 43577366012aSmrg 43587366012aSmrgtypedef const char *ccp; 43597366012aSmrg 43607366012aSmrgstatic inline int 43617366012aSmrgtest_restrict (ccp restrict text) 43627366012aSmrg{ 43637366012aSmrg // See if C++-style comments work. 43647366012aSmrg // Iterate through items via the restricted pointer. 43657366012aSmrg // Also check for declarations in for loops. 43667366012aSmrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 43677366012aSmrg continue; 43687366012aSmrg return 0; 43697366012aSmrg} 43707366012aSmrg 43717366012aSmrg// Check varargs and va_copy. 43727366012aSmrgstatic void 43737366012aSmrgtest_varargs (const char *format, ...) 43747366012aSmrg{ 43757366012aSmrg va_list args; 43767366012aSmrg va_start (args, format); 43777366012aSmrg va_list args_copy; 43787366012aSmrg va_copy (args_copy, args); 43797366012aSmrg 43807366012aSmrg const char *str; 43817366012aSmrg int number; 43827366012aSmrg float fnumber; 43837366012aSmrg 43847366012aSmrg while (*format) 43857366012aSmrg { 43867366012aSmrg switch (*format++) 43877366012aSmrg { 43887366012aSmrg case 's': // string 43897366012aSmrg str = va_arg (args_copy, const char *); 43907366012aSmrg break; 43917366012aSmrg case 'd': // int 43927366012aSmrg number = va_arg (args_copy, int); 43937366012aSmrg break; 43947366012aSmrg case 'f': // float 43957366012aSmrg fnumber = va_arg (args_copy, double); 43967366012aSmrg break; 43977366012aSmrg default: 43987366012aSmrg break; 43997366012aSmrg } 44007366012aSmrg } 44017366012aSmrg va_end (args_copy); 44027366012aSmrg va_end (args); 44037366012aSmrg} 44047366012aSmrg 44057366012aSmrgint 44067366012aSmrgmain () 44077366012aSmrg{ 44087366012aSmrg 44097366012aSmrg // Check bool. 44107366012aSmrg _Bool success = false; 44117366012aSmrg 44127366012aSmrg // Check restrict. 44137366012aSmrg if (test_restrict ("String literal") == 0) 44147366012aSmrg success = true; 44157366012aSmrg char *restrict newvar = "Another string"; 44167366012aSmrg 44177366012aSmrg // Check varargs. 44187366012aSmrg test_varargs ("s, d' f .", "string", 65, 34.234); 44197366012aSmrg test_varargs_macros (); 44207366012aSmrg 44217366012aSmrg // Check flexible array members. 44227366012aSmrg struct incomplete_array *ia = 44237366012aSmrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 44247366012aSmrg ia->datasize = 10; 44257366012aSmrg for (int i = 0; i < ia->datasize; ++i) 44267366012aSmrg ia->data[i] = i * 1.234; 44277366012aSmrg 44287366012aSmrg // Check named initializers. 44297366012aSmrg struct named_init ni = { 44307366012aSmrg .number = 34, 44317366012aSmrg .name = L"Test wide string", 44327366012aSmrg .average = 543.34343, 44337366012aSmrg }; 44347366012aSmrg 44357366012aSmrg ni.number = 58; 44367366012aSmrg 44377366012aSmrg int dynamic_array[ni.number]; 44387366012aSmrg dynamic_array[ni.number - 1] = 543; 44397366012aSmrg 44407366012aSmrg // work around unused variable warnings 44417366012aSmrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 44427366012aSmrg || dynamic_array[ni.number - 1] != 543); 44437366012aSmrg 44447366012aSmrg ; 44457366012aSmrg return 0; 44467366012aSmrg} 44477366012aSmrg_ACEOF 44487366012aSmrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 44497366012aSmrgdo 44507366012aSmrg CC="$ac_save_CC $ac_arg" 44517366012aSmrg rm -f conftest.$ac_objext 44527366012aSmrgif { (ac_try="$ac_compile" 44537366012aSmrgcase "(($ac_try" in 44547366012aSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 44557366012aSmrg *) ac_try_echo=$ac_try;; 44567366012aSmrgesac 44577366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 44587366012aSmrg$as_echo "$ac_try_echo") >&5 44597366012aSmrg (eval "$ac_compile") 2>conftest.er1 44607366012aSmrg ac_status=$? 44617366012aSmrg grep -v '^ *+' conftest.er1 >conftest.err 44627366012aSmrg rm -f conftest.er1 44637366012aSmrg cat conftest.err >&5 44647366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 44657366012aSmrg (exit $ac_status); } && { 44667366012aSmrg test -z "$ac_c_werror_flag" || 44677366012aSmrg test ! -s conftest.err 44687366012aSmrg } && test -s conftest.$ac_objext; then 44697366012aSmrg ac_cv_prog_cc_c99=$ac_arg 44707366012aSmrgelse 44717366012aSmrg $as_echo "$as_me: failed program was:" >&5 44727366012aSmrgsed 's/^/| /' conftest.$ac_ext >&5 44737366012aSmrg 44747366012aSmrg 44757366012aSmrgfi 44767366012aSmrg 44777366012aSmrgrm -f core conftest.err conftest.$ac_objext 44787366012aSmrg test "x$ac_cv_prog_cc_c99" != "xno" && break 44797366012aSmrgdone 44807366012aSmrgrm -f conftest.$ac_ext 44817366012aSmrgCC=$ac_save_CC 44827366012aSmrg 44837366012aSmrgfi 44847366012aSmrg# AC_CACHE_VAL 44857366012aSmrgcase "x$ac_cv_prog_cc_c99" in 44867366012aSmrg x) 44877366012aSmrg { $as_echo "$as_me:$LINENO: result: none needed" >&5 44887366012aSmrg$as_echo "none needed" >&6; } ;; 44897366012aSmrg xno) 44907366012aSmrg { $as_echo "$as_me:$LINENO: result: unsupported" >&5 44917366012aSmrg$as_echo "unsupported" >&6; } ;; 44927366012aSmrg *) 44937366012aSmrg CC="$CC $ac_cv_prog_cc_c99" 44947366012aSmrg { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 44957366012aSmrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 44967366012aSmrgesac 44977366012aSmrg 44987366012aSmrg 44997366012aSmrg 45007366012aSmrg# Make sure we can run config.sub. 45017366012aSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 45027366012aSmrg { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 45037366012aSmrg$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 45047366012aSmrg { (exit 1); exit 1; }; } 45057366012aSmrg 45067366012aSmrg{ $as_echo "$as_me:$LINENO: checking build system type" >&5 45077366012aSmrg$as_echo_n "checking build system type... " >&6; } 45087366012aSmrgif test "${ac_cv_build+set}" = set; then 45097366012aSmrg $as_echo_n "(cached) " >&6 45107366012aSmrgelse 45117366012aSmrg ac_build_alias=$build_alias 45127366012aSmrgtest "x$ac_build_alias" = x && 45137366012aSmrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 45147366012aSmrgtest "x$ac_build_alias" = x && 45157366012aSmrg { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 45167366012aSmrg$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 45177366012aSmrg { (exit 1); exit 1; }; } 45187366012aSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 45197366012aSmrg { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 45207366012aSmrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 45217366012aSmrg { (exit 1); exit 1; }; } 45227366012aSmrg 45237366012aSmrgfi 45247366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 45257366012aSmrg$as_echo "$ac_cv_build" >&6; } 45267366012aSmrgcase $ac_cv_build in 45277366012aSmrg*-*-*) ;; 45287366012aSmrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 45297366012aSmrg$as_echo "$as_me: error: invalid value of canonical build" >&2;} 45307366012aSmrg { (exit 1); exit 1; }; };; 45317366012aSmrgesac 45327366012aSmrgbuild=$ac_cv_build 45337366012aSmrgac_save_IFS=$IFS; IFS='-' 45347366012aSmrgset x $ac_cv_build 45357366012aSmrgshift 45367366012aSmrgbuild_cpu=$1 45377366012aSmrgbuild_vendor=$2 45387366012aSmrgshift; shift 45397366012aSmrg# Remember, the first character of IFS is used to create $*, 45407366012aSmrg# except with old shells: 45417366012aSmrgbuild_os=$* 45427366012aSmrgIFS=$ac_save_IFS 45437366012aSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 45447366012aSmrg 45457366012aSmrg 45467366012aSmrg{ $as_echo "$as_me:$LINENO: checking host system type" >&5 45477366012aSmrg$as_echo_n "checking host system type... " >&6; } 45487366012aSmrgif test "${ac_cv_host+set}" = set; then 45497366012aSmrg $as_echo_n "(cached) " >&6 45507366012aSmrgelse 45517366012aSmrg if test "x$host_alias" = x; then 45527366012aSmrg ac_cv_host=$ac_cv_build 45537366012aSmrgelse 45547366012aSmrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 45557366012aSmrg { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 45567366012aSmrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 45577366012aSmrg { (exit 1); exit 1; }; } 45587366012aSmrgfi 45597366012aSmrg 45607366012aSmrgfi 45617366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 45627366012aSmrg$as_echo "$ac_cv_host" >&6; } 45637366012aSmrgcase $ac_cv_host in 45647366012aSmrg*-*-*) ;; 45657366012aSmrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 45667366012aSmrg$as_echo "$as_me: error: invalid value of canonical host" >&2;} 45677366012aSmrg { (exit 1); exit 1; }; };; 45687366012aSmrgesac 45697366012aSmrghost=$ac_cv_host 45707366012aSmrgac_save_IFS=$IFS; IFS='-' 45717366012aSmrgset x $ac_cv_host 45727366012aSmrgshift 45737366012aSmrghost_cpu=$1 45747366012aSmrghost_vendor=$2 45757366012aSmrgshift; shift 45767366012aSmrg# Remember, the first character of IFS is used to create $*, 45777366012aSmrg# except with old shells: 45787366012aSmrghost_os=$* 45797366012aSmrgIFS=$ac_save_IFS 45807366012aSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 45817366012aSmrg 45827366012aSmrg 45837366012aSmrg 45847366012aSmrg 45857366012aSmrg 45867366012aSmrgif test "x$GCC" = xyes ; then 45877366012aSmrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 45887366012aSmrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 45897366012aSmrg-Wbad-function-cast" 45907366012aSmrg case `$CC -dumpversion` in 45917366012aSmrg 3.4.* | 4.*) 45927366012aSmrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 45937366012aSmrg ;; 45947366012aSmrg esac 45957366012aSmrgelse 45967366012aSmrg { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 45977366012aSmrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 45987366012aSmrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 45997366012aSmrg $as_echo_n "(cached) " >&6 46007366012aSmrgelse 46017366012aSmrg cat >conftest.$ac_ext <<_ACEOF 46027366012aSmrg/* confdefs.h. */ 46037366012aSmrg_ACEOF 46047366012aSmrgcat confdefs.h >>conftest.$ac_ext 46057366012aSmrgcat >>conftest.$ac_ext <<_ACEOF 46067366012aSmrg/* end confdefs.h. */ 46077366012aSmrg$ac_includes_default 46087366012aSmrgint 46097366012aSmrgmain () 46107366012aSmrg{ 46117366012aSmrg#ifndef __SUNPRO_C 46127366012aSmrg (void) __SUNPRO_C; 46137366012aSmrg#endif 46147366012aSmrg 46157366012aSmrg ; 46167366012aSmrg return 0; 46177366012aSmrg} 46187366012aSmrg_ACEOF 46197366012aSmrgrm -f conftest.$ac_objext 46207366012aSmrgif { (ac_try="$ac_compile" 46217366012aSmrgcase "(($ac_try" in 46227366012aSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 46237366012aSmrg *) ac_try_echo=$ac_try;; 46247366012aSmrgesac 46257366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 46267366012aSmrg$as_echo "$ac_try_echo") >&5 46277366012aSmrg (eval "$ac_compile") 2>conftest.er1 46287366012aSmrg ac_status=$? 46297366012aSmrg grep -v '^ *+' conftest.er1 >conftest.err 46307366012aSmrg rm -f conftest.er1 46317366012aSmrg cat conftest.err >&5 46327366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 46337366012aSmrg (exit $ac_status); } && { 46347366012aSmrg test -z "$ac_c_werror_flag" || 46357366012aSmrg test ! -s conftest.err 46367366012aSmrg } && test -s conftest.$ac_objext; then 46377366012aSmrg ac_cv_have_decl___SUNPRO_C=yes 46387366012aSmrgelse 46397366012aSmrg $as_echo "$as_me: failed program was:" >&5 46407366012aSmrgsed 's/^/| /' conftest.$ac_ext >&5 46417366012aSmrg 46427366012aSmrg ac_cv_have_decl___SUNPRO_C=no 46437366012aSmrgfi 46447366012aSmrg 46457366012aSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 46467366012aSmrgfi 46477366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 46487366012aSmrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 46497366012aSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 46507366012aSmrg SUNCC="yes" 46517366012aSmrgelse 46527366012aSmrg SUNCC="no" 46537366012aSmrgfi 46547366012aSmrg 46557366012aSmrg if test "x$SUNCC" = "xyes"; then 46567366012aSmrg CWARNFLAGS="-v" 46577366012aSmrg fi 46587366012aSmrgfi 46597366012aSmrg 46607366012aSmrg# Check whether --enable-silent-rules was given. 46617366012aSmrgif test "${enable_silent_rules+set}" = set; then 46627366012aSmrg enableval=$enable_silent_rules; 46637366012aSmrgfi 46647366012aSmrg 46657366012aSmrgcase $enable_silent_rules in 46667366012aSmrgyes) AM_DEFAULT_VERBOSITY=0;; 46677366012aSmrgno) AM_DEFAULT_VERBOSITY=1;; 46687366012aSmrg*) AM_DEFAULT_VERBOSITY=0;; 46697366012aSmrgesac 46707366012aSmrgAM_BACKSLASH='\' 46717366012aSmrg 46727366012aSmrg 46737366012aSmrg 46747366012aSmrg 46757366012aSmrg 46767366012aSmrg 46777366012aSmrg 46787366012aSmrg# Check whether --enable-strict-compilation was given. 46797366012aSmrgif test "${enable_strict_compilation+set}" = set; then 46807366012aSmrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 46817366012aSmrgelse 46827366012aSmrg STRICT_COMPILE=no 46837366012aSmrgfi 46847366012aSmrg 46857366012aSmrgif test "x$STRICT_COMPILE" = "xyes"; then 46867366012aSmrg { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 46877366012aSmrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 46887366012aSmrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 46897366012aSmrg $as_echo_n "(cached) " >&6 46907366012aSmrgelse 46917366012aSmrg cat >conftest.$ac_ext <<_ACEOF 46927366012aSmrg/* confdefs.h. */ 46937366012aSmrg_ACEOF 46947366012aSmrgcat confdefs.h >>conftest.$ac_ext 46957366012aSmrgcat >>conftest.$ac_ext <<_ACEOF 46967366012aSmrg/* end confdefs.h. */ 46977366012aSmrg$ac_includes_default 46987366012aSmrgint 46997366012aSmrgmain () 47007366012aSmrg{ 47017366012aSmrg#ifndef __SUNPRO_C 47027366012aSmrg (void) __SUNPRO_C; 47037366012aSmrg#endif 47047366012aSmrg 47057366012aSmrg ; 47067366012aSmrg return 0; 47077366012aSmrg} 47087366012aSmrg_ACEOF 47097366012aSmrgrm -f conftest.$ac_objext 47107366012aSmrgif { (ac_try="$ac_compile" 47117366012aSmrgcase "(($ac_try" in 47127366012aSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 47137366012aSmrg *) ac_try_echo=$ac_try;; 47147366012aSmrgesac 47157366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 47167366012aSmrg$as_echo "$ac_try_echo") >&5 47177366012aSmrg (eval "$ac_compile") 2>conftest.er1 47187366012aSmrg ac_status=$? 47197366012aSmrg grep -v '^ *+' conftest.er1 >conftest.err 47207366012aSmrg rm -f conftest.er1 47217366012aSmrg cat conftest.err >&5 47227366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 47237366012aSmrg (exit $ac_status); } && { 47247366012aSmrg test -z "$ac_c_werror_flag" || 47257366012aSmrg test ! -s conftest.err 47267366012aSmrg } && test -s conftest.$ac_objext; then 47277366012aSmrg ac_cv_have_decl___SUNPRO_C=yes 47287366012aSmrgelse 47297366012aSmrg $as_echo "$as_me: failed program was:" >&5 47307366012aSmrgsed 's/^/| /' conftest.$ac_ext >&5 47317366012aSmrg 47327366012aSmrg ac_cv_have_decl___SUNPRO_C=no 47337366012aSmrgfi 47347366012aSmrg 47357366012aSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 47367366012aSmrgfi 47377366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 47387366012aSmrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 47397366012aSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 47407366012aSmrg SUNCC="yes" 47417366012aSmrgelse 47427366012aSmrg SUNCC="no" 47437366012aSmrgfi 47447366012aSmrg 47457366012aSmrg { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5 47467366012aSmrg$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; } 47477366012aSmrgif test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then 47487366012aSmrg $as_echo_n "(cached) " >&6 47497366012aSmrgelse 47507366012aSmrg cat >conftest.$ac_ext <<_ACEOF 47517366012aSmrg/* confdefs.h. */ 47527366012aSmrg_ACEOF 47537366012aSmrgcat confdefs.h >>conftest.$ac_ext 47547366012aSmrgcat >>conftest.$ac_ext <<_ACEOF 47557366012aSmrg/* end confdefs.h. */ 47567366012aSmrg$ac_includes_default 47577366012aSmrgint 47587366012aSmrgmain () 47597366012aSmrg{ 47607366012aSmrg#ifndef __INTEL_COMPILER 47617366012aSmrg (void) __INTEL_COMPILER; 47627366012aSmrg#endif 47637366012aSmrg 47647366012aSmrg ; 47657366012aSmrg return 0; 47667366012aSmrg} 47677366012aSmrg_ACEOF 47687366012aSmrgrm -f conftest.$ac_objext 47697366012aSmrgif { (ac_try="$ac_compile" 47707366012aSmrgcase "(($ac_try" in 47717366012aSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 47727366012aSmrg *) ac_try_echo=$ac_try;; 47737366012aSmrgesac 47747366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 47757366012aSmrg$as_echo "$ac_try_echo") >&5 47767366012aSmrg (eval "$ac_compile") 2>conftest.er1 47777366012aSmrg ac_status=$? 47787366012aSmrg grep -v '^ *+' conftest.er1 >conftest.err 47797366012aSmrg rm -f conftest.er1 47807366012aSmrg cat conftest.err >&5 47817366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 47827366012aSmrg (exit $ac_status); } && { 47837366012aSmrg test -z "$ac_c_werror_flag" || 47847366012aSmrg test ! -s conftest.err 47857366012aSmrg } && test -s conftest.$ac_objext; then 47867366012aSmrg ac_cv_have_decl___INTEL_COMPILER=yes 47877366012aSmrgelse 47887366012aSmrg $as_echo "$as_me: failed program was:" >&5 47897366012aSmrgsed 's/^/| /' conftest.$ac_ext >&5 47907366012aSmrg 47917366012aSmrg ac_cv_have_decl___INTEL_COMPILER=no 47927366012aSmrgfi 47937366012aSmrg 47947366012aSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 47957366012aSmrgfi 47967366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5 47977366012aSmrg$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; } 47987366012aSmrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then 47997366012aSmrg INTELCC="yes" 48007366012aSmrgelse 48017366012aSmrg INTELCC="no" 48027366012aSmrgfi 48037366012aSmrg 48047366012aSmrg if test "x$GCC" = xyes ; then 48057366012aSmrg STRICT_CFLAGS="-pedantic -Werror" 48067366012aSmrg elif test "x$SUNCC" = "xyes"; then 48077366012aSmrg STRICT_CFLAGS="-errwarn" 48087366012aSmrg elif test "x$INTELCC" = "xyes"; then 48097366012aSmrg STRICT_CFLAGS="-Werror" 48107366012aSmrg fi 48117366012aSmrgfi 48127366012aSmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 48137366012aSmrg 48147366012aSmrg 48157366012aSmrg 48167366012aSmrg 48177366012aSmrg# Check whether --with-release-version was given. 48187366012aSmrgif test "${with_release_version+set}" = set; then 48197366012aSmrg withval=$with_release_version; RELEASE_VERSION="$withval" 48207366012aSmrgelse 48217366012aSmrg RELEASE_VERSION="" 48227366012aSmrgfi 48237366012aSmrg 48247366012aSmrg if test "x$RELEASE_VERSION" != "x"; then 48257366012aSmrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 48267366012aSmrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 48277366012aSmrg { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 48287366012aSmrg$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;} 48297366012aSmrg fi 48307366012aSmrg 48317366012aSmrgcat >>confdefs.h <<_ACEOF 48327366012aSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 48337366012aSmrg_ACEOF 48347366012aSmrg 48357366012aSmrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 48367366012aSmrg if test "x$PVM" = "x"; then 48377366012aSmrg PVM="0" 48387366012aSmrg fi 48397366012aSmrg 48407366012aSmrgcat >>confdefs.h <<_ACEOF 48417366012aSmrg#define PACKAGE_VERSION_MINOR $PVM 48427366012aSmrg_ACEOF 48437366012aSmrg 48447366012aSmrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 48457366012aSmrg if test "x$PVP" = "x"; then 48467366012aSmrg PVP="0" 48477366012aSmrg fi 48487366012aSmrg 48497366012aSmrgcat >>confdefs.h <<_ACEOF 48507366012aSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 48517366012aSmrg_ACEOF 48527366012aSmrg 48537366012aSmrg 48547366012aSmrg 48557366012aSmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \ 48567366012aSmrgmv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \ 48577366012aSmrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 48587366012aSmrg 48597366012aSmrgdistcleancheck_listfiles='find . -type f ! -name ChangeLog -print' 48607366012aSmrg 48617366012aSmrg 48627366012aSmrg 48637366012aSmrg 48647366012aSmrg 48657366012aSmrgif test x$APP_MAN_SUFFIX = x ; then 48667366012aSmrg APP_MAN_SUFFIX=1 48677366012aSmrgfi 48687366012aSmrgif test x$APP_MAN_DIR = x ; then 48697366012aSmrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 48707366012aSmrgfi 48717366012aSmrg 48727366012aSmrgif test x$LIB_MAN_SUFFIX = x ; then 48737366012aSmrg LIB_MAN_SUFFIX=3 48747366012aSmrgfi 48757366012aSmrgif test x$LIB_MAN_DIR = x ; then 48767366012aSmrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 48777366012aSmrgfi 48787366012aSmrg 48797366012aSmrgif test x$FILE_MAN_SUFFIX = x ; then 48807366012aSmrg case $host_os in 48817366012aSmrg solaris*) FILE_MAN_SUFFIX=4 ;; 48827366012aSmrg *) FILE_MAN_SUFFIX=5 ;; 48837366012aSmrg esac 48847366012aSmrgfi 48857366012aSmrgif test x$FILE_MAN_DIR = x ; then 48867366012aSmrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 48877366012aSmrgfi 48887366012aSmrg 48897366012aSmrgif test x$MISC_MAN_SUFFIX = x ; then 48907366012aSmrg case $host_os in 48917366012aSmrg solaris*) MISC_MAN_SUFFIX=5 ;; 48927366012aSmrg *) MISC_MAN_SUFFIX=7 ;; 48937366012aSmrg esac 48947366012aSmrgfi 48957366012aSmrgif test x$MISC_MAN_DIR = x ; then 48967366012aSmrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 48977366012aSmrgfi 48987366012aSmrg 48997366012aSmrgif test x$DRIVER_MAN_SUFFIX = x ; then 49007366012aSmrg case $host_os in 49017366012aSmrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 49027366012aSmrg *) DRIVER_MAN_SUFFIX=4 ;; 49037366012aSmrg esac 49047366012aSmrgfi 49057366012aSmrgif test x$DRIVER_MAN_DIR = x ; then 49067366012aSmrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 49077366012aSmrgfi 49087366012aSmrg 49097366012aSmrgif test x$ADMIN_MAN_SUFFIX = x ; then 49107366012aSmrg case $host_os in 49117366012aSmrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 49127366012aSmrg *) ADMIN_MAN_SUFFIX=8 ;; 49137366012aSmrg esac 49147366012aSmrgfi 49157366012aSmrgif test x$ADMIN_MAN_DIR = x ; then 49167366012aSmrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 49177366012aSmrgfi 49187366012aSmrg 49197366012aSmrg 49207366012aSmrg 49217366012aSmrg 49227366012aSmrg 49237a0395d0Smrg 49247a0395d0Smrg 49257a0395d0Smrg 49267a0395d0Smrg 49277a0395d0Smrg 49287a0395d0Smrg 49297a0395d0Smrg 49307a0395d0Smrg 49317a0395d0Smrg 49327a0395d0Smrg 49337a0395d0Smrg 49347366012aSmrg 49357366012aSmrg{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 49367366012aSmrg$as_echo_n "checking return type of signal handlers... " >&6; } 49377366012aSmrgif test "${ac_cv_type_signal+set}" = set; then 49387366012aSmrg $as_echo_n "(cached) " >&6 49397a0395d0Smrgelse 49407a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 49417a0395d0Smrg/* confdefs.h. */ 49427a0395d0Smrg_ACEOF 49437a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 49447a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 49457a0395d0Smrg/* end confdefs.h. */ 49467366012aSmrg#include <sys/types.h> 49477366012aSmrg#include <signal.h> 49487a0395d0Smrg 49497366012aSmrgint 49507366012aSmrgmain () 49517366012aSmrg{ 49527366012aSmrgreturn *(signal (0, 0)) (0) == 1; 49537366012aSmrg ; 49547366012aSmrg return 0; 49557366012aSmrg} 49567a0395d0Smrg_ACEOF 49577a0395d0Smrgrm -f conftest.$ac_objext 49587a0395d0Smrgif { (ac_try="$ac_compile" 49597a0395d0Smrgcase "(($ac_try" in 49607a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 49617a0395d0Smrg *) ac_try_echo=$ac_try;; 49627a0395d0Smrgesac 49637366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 49647366012aSmrg$as_echo "$ac_try_echo") >&5 49657a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 49667a0395d0Smrg ac_status=$? 49677a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 49687a0395d0Smrg rm -f conftest.er1 49697a0395d0Smrg cat conftest.err >&5 49707366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 49717a0395d0Smrg (exit $ac_status); } && { 49727a0395d0Smrg test -z "$ac_c_werror_flag" || 49737a0395d0Smrg test ! -s conftest.err 49747a0395d0Smrg } && test -s conftest.$ac_objext; then 49757366012aSmrg ac_cv_type_signal=int 49767a0395d0Smrgelse 49777366012aSmrg $as_echo "$as_me: failed program was:" >&5 49787a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 49797a0395d0Smrg 49807366012aSmrg ac_cv_type_signal=void 49817a0395d0Smrgfi 49827a0395d0Smrg 49837a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 49847a0395d0Smrgfi 49857366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 49867366012aSmrg$as_echo "$ac_cv_type_signal" >&6; } 49877a0395d0Smrg 49887366012aSmrgcat >>confdefs.h <<_ACEOF 49897366012aSmrg#define RETSIGTYPE $ac_cv_type_signal 49907366012aSmrg_ACEOF 49917a0395d0Smrg 49927a0395d0Smrg 49937a0395d0Smrg 49947a0395d0Smrg 49957a0395d0Smrgfor ac_header in net/errno.h 49967a0395d0Smrgdo 49977366012aSmrgas_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 49987a0395d0Smrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 49997366012aSmrg { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 50007366012aSmrg$as_echo_n "checking for $ac_header... " >&6; } 50017a0395d0Smrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 50027366012aSmrg $as_echo_n "(cached) " >&6 50037a0395d0Smrgfi 50047366012aSmrgac_res=`eval 'as_val=${'$as_ac_Header'} 50057366012aSmrg $as_echo "$as_val"'` 50067366012aSmrg { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 50077366012aSmrg$as_echo "$ac_res" >&6; } 50087a0395d0Smrgelse 50097a0395d0Smrg # Is the header compilable? 50107366012aSmrg{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 50117366012aSmrg$as_echo_n "checking $ac_header usability... " >&6; } 50127a0395d0Smrgcat >conftest.$ac_ext <<_ACEOF 50137a0395d0Smrg/* confdefs.h. */ 50147a0395d0Smrg_ACEOF 50157a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 50167a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 50177a0395d0Smrg/* end confdefs.h. */ 50187a0395d0Smrg$ac_includes_default 50197a0395d0Smrg#include <$ac_header> 50207a0395d0Smrg_ACEOF 50217a0395d0Smrgrm -f conftest.$ac_objext 50227a0395d0Smrgif { (ac_try="$ac_compile" 50237a0395d0Smrgcase "(($ac_try" in 50247a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 50257a0395d0Smrg *) ac_try_echo=$ac_try;; 50267a0395d0Smrgesac 50277366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 50287366012aSmrg$as_echo "$ac_try_echo") >&5 50297a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 50307a0395d0Smrg ac_status=$? 50317a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 50327a0395d0Smrg rm -f conftest.er1 50337a0395d0Smrg cat conftest.err >&5 50347366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 50357a0395d0Smrg (exit $ac_status); } && { 50367a0395d0Smrg test -z "$ac_c_werror_flag" || 50377a0395d0Smrg test ! -s conftest.err 50387a0395d0Smrg } && test -s conftest.$ac_objext; then 50397a0395d0Smrg ac_header_compiler=yes 50407a0395d0Smrgelse 50417366012aSmrg $as_echo "$as_me: failed program was:" >&5 50427a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 50437a0395d0Smrg 50447a0395d0Smrg ac_header_compiler=no 50457a0395d0Smrgfi 50467a0395d0Smrg 50477a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 50487366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 50497366012aSmrg$as_echo "$ac_header_compiler" >&6; } 50507a0395d0Smrg 50517a0395d0Smrg# Is the header present? 50527366012aSmrg{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 50537366012aSmrg$as_echo_n "checking $ac_header presence... " >&6; } 50547a0395d0Smrgcat >conftest.$ac_ext <<_ACEOF 50557a0395d0Smrg/* confdefs.h. */ 50567a0395d0Smrg_ACEOF 50577a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 50587a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 50597a0395d0Smrg/* end confdefs.h. */ 50607a0395d0Smrg#include <$ac_header> 50617a0395d0Smrg_ACEOF 50627a0395d0Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 50637a0395d0Smrgcase "(($ac_try" in 50647a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 50657a0395d0Smrg *) ac_try_echo=$ac_try;; 50667a0395d0Smrgesac 50677366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 50687366012aSmrg$as_echo "$ac_try_echo") >&5 50697a0395d0Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 50707a0395d0Smrg ac_status=$? 50717a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 50727a0395d0Smrg rm -f conftest.er1 50737a0395d0Smrg cat conftest.err >&5 50747366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 50757a0395d0Smrg (exit $ac_status); } >/dev/null && { 50767a0395d0Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 50777a0395d0Smrg test ! -s conftest.err 50787a0395d0Smrg }; then 50797a0395d0Smrg ac_header_preproc=yes 50807a0395d0Smrgelse 50817366012aSmrg $as_echo "$as_me: failed program was:" >&5 50827a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 50837a0395d0Smrg 50847a0395d0Smrg ac_header_preproc=no 50857a0395d0Smrgfi 50867a0395d0Smrg 50877a0395d0Smrgrm -f conftest.err conftest.$ac_ext 50887366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 50897366012aSmrg$as_echo "$ac_header_preproc" >&6; } 50907a0395d0Smrg 50917a0395d0Smrg# So? What about this header? 50927a0395d0Smrgcase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 50937a0395d0Smrg yes:no: ) 50947366012aSmrg { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 50957366012aSmrg$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 50967366012aSmrg { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 50977366012aSmrg$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 50987a0395d0Smrg ac_header_preproc=yes 50997a0395d0Smrg ;; 51007a0395d0Smrg no:yes:* ) 51017366012aSmrg { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 51027366012aSmrg$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 51037366012aSmrg { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 51047366012aSmrg$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 51057366012aSmrg { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 51067366012aSmrg$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 51077366012aSmrg { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 51087366012aSmrg$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 51097366012aSmrg { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 51107366012aSmrg$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 51117366012aSmrg { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 51127366012aSmrg$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 51137a0395d0Smrg ( cat <<\_ASBOX 51147a0395d0Smrg## ---------------------------------------------------------------------- ## 51157a0395d0Smrg## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 51167a0395d0Smrg## ---------------------------------------------------------------------- ## 51177a0395d0Smrg_ASBOX 51187a0395d0Smrg ) | sed "s/^/$as_me: WARNING: /" >&2 51197a0395d0Smrg ;; 51207a0395d0Smrgesac 51217366012aSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 51227366012aSmrg$as_echo_n "checking for $ac_header... " >&6; } 51237a0395d0Smrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 51247366012aSmrg $as_echo_n "(cached) " >&6 51257a0395d0Smrgelse 51267a0395d0Smrg eval "$as_ac_Header=\$ac_header_preproc" 51277a0395d0Smrgfi 51287366012aSmrgac_res=`eval 'as_val=${'$as_ac_Header'} 51297366012aSmrg $as_echo "$as_val"'` 51307366012aSmrg { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 51317366012aSmrg$as_echo "$ac_res" >&6; } 51327a0395d0Smrg 51337a0395d0Smrgfi 51347366012aSmrgas_val=`eval 'as_val=${'$as_ac_Header'} 51357366012aSmrg $as_echo "$as_val"'` 51367366012aSmrg if test "x$as_val" = x""yes; then 51377a0395d0Smrg cat >>confdefs.h <<_ACEOF 51387366012aSmrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 51397a0395d0Smrg_ACEOF 51407a0395d0Smrg 51417a0395d0Smrgfi 51427a0395d0Smrg 51437a0395d0Smrgdone 51447a0395d0Smrg 51457a0395d0Smrg 51467a0395d0Smrg# Checks for pkg-config packages 51477a0395d0Smrg 51487a0395d0Smrg 51497a0395d0Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 51507a0395d0Smrg if test -n "$ac_tool_prefix"; then 51517a0395d0Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 51527a0395d0Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 51537366012aSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 51547366012aSmrg$as_echo_n "checking for $ac_word... " >&6; } 51557a0395d0Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 51567366012aSmrg $as_echo_n "(cached) " >&6 51577a0395d0Smrgelse 51587a0395d0Smrg case $PKG_CONFIG in 51597a0395d0Smrg [\\/]* | ?:[\\/]*) 51607a0395d0Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 51617a0395d0Smrg ;; 51627a0395d0Smrg *) 51637a0395d0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 51647a0395d0Smrgfor as_dir in $PATH 51657a0395d0Smrgdo 51667a0395d0Smrg IFS=$as_save_IFS 51677a0395d0Smrg test -z "$as_dir" && as_dir=. 51687a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 51697a0395d0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 51707a0395d0Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 51717366012aSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 51727a0395d0Smrg break 2 51737a0395d0Smrg fi 51747a0395d0Smrgdone 51757a0395d0Smrgdone 51767a0395d0SmrgIFS=$as_save_IFS 51777a0395d0Smrg 51787a0395d0Smrg ;; 51797a0395d0Smrgesac 51807a0395d0Smrgfi 51817a0395d0SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 51827a0395d0Smrgif test -n "$PKG_CONFIG"; then 51837366012aSmrg { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 51847366012aSmrg$as_echo "$PKG_CONFIG" >&6; } 51857a0395d0Smrgelse 51867366012aSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 51877366012aSmrg$as_echo "no" >&6; } 51887a0395d0Smrgfi 51897a0395d0Smrg 51907a0395d0Smrg 51917a0395d0Smrgfi 51927a0395d0Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 51937a0395d0Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 51947a0395d0Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 51957a0395d0Smrgset dummy pkg-config; ac_word=$2 51967366012aSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 51977366012aSmrg$as_echo_n "checking for $ac_word... " >&6; } 51987a0395d0Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 51997366012aSmrg $as_echo_n "(cached) " >&6 52007a0395d0Smrgelse 52017a0395d0Smrg case $ac_pt_PKG_CONFIG in 52027a0395d0Smrg [\\/]* | ?:[\\/]*) 52037a0395d0Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 52047a0395d0Smrg ;; 52057a0395d0Smrg *) 52067a0395d0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 52077a0395d0Smrgfor as_dir in $PATH 52087a0395d0Smrgdo 52097a0395d0Smrg IFS=$as_save_IFS 52107a0395d0Smrg test -z "$as_dir" && as_dir=. 52117a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 52127a0395d0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 52137a0395d0Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 52147366012aSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 52157a0395d0Smrg break 2 52167a0395d0Smrg fi 52177a0395d0Smrgdone 52187a0395d0Smrgdone 52197a0395d0SmrgIFS=$as_save_IFS 52207a0395d0Smrg 52217a0395d0Smrg ;; 52227a0395d0Smrgesac 52237a0395d0Smrgfi 52247a0395d0Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 52257a0395d0Smrgif test -n "$ac_pt_PKG_CONFIG"; then 52267366012aSmrg { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 52277366012aSmrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 52287a0395d0Smrgelse 52297366012aSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 52307366012aSmrg$as_echo "no" >&6; } 52317a0395d0Smrgfi 52327a0395d0Smrg 52337a0395d0Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 52347a0395d0Smrg PKG_CONFIG="" 52357a0395d0Smrg else 52367a0395d0Smrg case $cross_compiling:$ac_tool_warned in 52377a0395d0Smrgyes:) 52387366012aSmrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 52397366012aSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 52407a0395d0Smrgac_tool_warned=yes ;; 52417a0395d0Smrgesac 52427a0395d0Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 52437a0395d0Smrg fi 52447a0395d0Smrgelse 52457a0395d0Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 52467a0395d0Smrgfi 52477a0395d0Smrg 52487a0395d0Smrgfi 52497a0395d0Smrgif test -n "$PKG_CONFIG"; then 52507a0395d0Smrg _pkg_min_version=0.9.0 52517366012aSmrg { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 52527366012aSmrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 52537a0395d0Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 52547366012aSmrg { $as_echo "$as_me:$LINENO: result: yes" >&5 52557366012aSmrg$as_echo "yes" >&6; } 52567a0395d0Smrg else 52577366012aSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 52587366012aSmrg$as_echo "no" >&6; } 52597a0395d0Smrg PKG_CONFIG="" 52607a0395d0Smrg fi 52617a0395d0Smrg 52627a0395d0Smrgfi 52637a0395d0Smrg 52647a0395d0Smrgpkg_failed=no 52657366012aSmrg{ $as_echo "$as_me:$LINENO: checking for XAUTH" >&5 52667366012aSmrg$as_echo_n "checking for XAUTH... " >&6; } 52677a0395d0Smrg 52687a0395d0Smrgif test -n "$XAUTH_CFLAGS"; then 52697a0395d0Smrg pkg_cv_XAUTH_CFLAGS="$XAUTH_CFLAGS" 52707a0395d0Smrg elif test -n "$PKG_CONFIG"; then 52717a0395d0Smrg if test -n "$PKG_CONFIG" && \ 52727366012aSmrg { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xau xext xmuu\"") >&5 52737a0395d0Smrg ($PKG_CONFIG --exists --print-errors "x11 xau xext xmuu") 2>&5 52747a0395d0Smrg ac_status=$? 52757366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 52767a0395d0Smrg (exit $ac_status); }; then 52777a0395d0Smrg pkg_cv_XAUTH_CFLAGS=`$PKG_CONFIG --cflags "x11 xau xext xmuu" 2>/dev/null` 52787a0395d0Smrgelse 52797a0395d0Smrg pkg_failed=yes 52807a0395d0Smrgfi 52817a0395d0Smrg else 52827a0395d0Smrg pkg_failed=untried 52837a0395d0Smrgfi 52847a0395d0Smrgif test -n "$XAUTH_LIBS"; then 52857a0395d0Smrg pkg_cv_XAUTH_LIBS="$XAUTH_LIBS" 52867a0395d0Smrg elif test -n "$PKG_CONFIG"; then 52877a0395d0Smrg if test -n "$PKG_CONFIG" && \ 52887366012aSmrg { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xau xext xmuu\"") >&5 52897a0395d0Smrg ($PKG_CONFIG --exists --print-errors "x11 xau xext xmuu") 2>&5 52907a0395d0Smrg ac_status=$? 52917366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 52927a0395d0Smrg (exit $ac_status); }; then 52937a0395d0Smrg pkg_cv_XAUTH_LIBS=`$PKG_CONFIG --libs "x11 xau xext xmuu" 2>/dev/null` 52947a0395d0Smrgelse 52957a0395d0Smrg pkg_failed=yes 52967a0395d0Smrgfi 52977a0395d0Smrg else 52987a0395d0Smrg pkg_failed=untried 52997a0395d0Smrgfi 53007a0395d0Smrg 53017a0395d0Smrg 53027a0395d0Smrg 53037a0395d0Smrgif test $pkg_failed = yes; then 53047a0395d0Smrg 53057a0395d0Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 53067a0395d0Smrg _pkg_short_errors_supported=yes 53077a0395d0Smrgelse 53087a0395d0Smrg _pkg_short_errors_supported=no 53097a0395d0Smrgfi 53107a0395d0Smrg if test $_pkg_short_errors_supported = yes; then 53117a0395d0Smrg XAUTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xau xext xmuu" 2>&1` 53127a0395d0Smrg else 53137a0395d0Smrg XAUTH_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xau xext xmuu" 2>&1` 53147a0395d0Smrg fi 53157a0395d0Smrg # Put the nasty error message in config.log where it belongs 53167a0395d0Smrg echo "$XAUTH_PKG_ERRORS" >&5 53177a0395d0Smrg 53187366012aSmrg { { $as_echo "$as_me:$LINENO: error: Package requirements (x11 xau xext xmuu) were not met: 53197a0395d0Smrg 53207a0395d0Smrg$XAUTH_PKG_ERRORS 53217a0395d0Smrg 53227a0395d0SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 53237a0395d0Smrginstalled software in a non-standard prefix. 53247a0395d0Smrg 53257a0395d0SmrgAlternatively, you may set the environment variables XAUTH_CFLAGS 53267a0395d0Smrgand XAUTH_LIBS to avoid the need to call pkg-config. 53277a0395d0SmrgSee the pkg-config man page for more details. 53287a0395d0Smrg" >&5 53297366012aSmrg$as_echo "$as_me: error: Package requirements (x11 xau xext xmuu) were not met: 53307a0395d0Smrg 53317a0395d0Smrg$XAUTH_PKG_ERRORS 53327a0395d0Smrg 53337a0395d0SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 53347a0395d0Smrginstalled software in a non-standard prefix. 53357a0395d0Smrg 53367a0395d0SmrgAlternatively, you may set the environment variables XAUTH_CFLAGS 53377a0395d0Smrgand XAUTH_LIBS to avoid the need to call pkg-config. 53387a0395d0SmrgSee the pkg-config man page for more details. 53397a0395d0Smrg" >&2;} 53407a0395d0Smrg { (exit 1); exit 1; }; } 53417a0395d0Smrgelif test $pkg_failed = untried; then 53427366012aSmrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 53437366012aSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 53447366012aSmrg{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 53457a0395d0Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 53467a0395d0Smrgpath to pkg-config. 53477a0395d0Smrg 53487a0395d0SmrgAlternatively, you may set the environment variables XAUTH_CFLAGS 53497a0395d0Smrgand XAUTH_LIBS to avoid the need to call pkg-config. 53507a0395d0SmrgSee the pkg-config man page for more details. 53517a0395d0Smrg 53527a0395d0SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 53537a0395d0SmrgSee \`config.log' for more details." >&5 53547366012aSmrg$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 53557a0395d0Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 53567a0395d0Smrgpath to pkg-config. 53577a0395d0Smrg 53587a0395d0SmrgAlternatively, you may set the environment variables XAUTH_CFLAGS 53597a0395d0Smrgand XAUTH_LIBS to avoid the need to call pkg-config. 53607a0395d0SmrgSee the pkg-config man page for more details. 53617a0395d0Smrg 53627a0395d0SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 53637a0395d0SmrgSee \`config.log' for more details." >&2;} 53647366012aSmrg { (exit 1); exit 1; }; }; } 53657a0395d0Smrgelse 53667a0395d0Smrg XAUTH_CFLAGS=$pkg_cv_XAUTH_CFLAGS 53677a0395d0Smrg XAUTH_LIBS=$pkg_cv_XAUTH_LIBS 53687366012aSmrg { $as_echo "$as_me:$LINENO: result: yes" >&5 53697366012aSmrg$as_echo "yes" >&6; } 53707a0395d0Smrg : 53717a0395d0Smrgfi 53727a0395d0Smrg 53737a0395d0Smrg 53747a0395d0Smrg 53757a0395d0Smrg# Transport selection macro from xtrans.m4 53767a0395d0Smrg# Needed to set *CONN defines for gethost.c & parsedpy.c 53777a0395d0Smrg 53787a0395d0Smrg 53797a0395d0Smrg 53807366012aSmrg case $host_os in 53817366012aSmrg mingw*) unixdef="no" ;; 53827366012aSmrg *) unixdef="yes" ;; 53837366012aSmrg esac 53847a0395d0Smrg # Check whether --enable-unix-transport was given. 53857a0395d0Smrgif test "${enable_unix_transport+set}" = set; then 53867a0395d0Smrg enableval=$enable_unix_transport; UNIXCONN=$enableval 53877a0395d0Smrgelse 53887366012aSmrg UNIXCONN=$unixdef 53897a0395d0Smrgfi 53907a0395d0Smrg 53917366012aSmrg { $as_echo "$as_me:$LINENO: checking if Xtrans should support UNIX socket connections" >&5 53927366012aSmrg$as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; } 53937a0395d0Smrg if test "$UNIXCONN" = "yes"; then 53947a0395d0Smrg 53957a0395d0Smrgcat >>confdefs.h <<\_ACEOF 53967a0395d0Smrg#define UNIXCONN 1 53977a0395d0Smrg_ACEOF 53987a0395d0Smrg 53997a0395d0Smrg fi 54007366012aSmrg { $as_echo "$as_me:$LINENO: result: $UNIXCONN" >&5 54017366012aSmrg$as_echo "$UNIXCONN" >&6; } 54027366012aSmrg # Check whether --enable-tcp-transport was given. 54037366012aSmrgif test "${enable_tcp_transport+set}" = set; then 54047366012aSmrg enableval=$enable_tcp_transport; TCPCONN=$enableval 54057366012aSmrgelse 54067366012aSmrg TCPCONN=yes 54077366012aSmrgfi 54087366012aSmrg 54097366012aSmrg { $as_echo "$as_me:$LINENO: checking if Xtrans should support TCP socket connections" >&5 54107366012aSmrg$as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; } 54117366012aSmrg { $as_echo "$as_me:$LINENO: result: $TCPCONN" >&5 54127366012aSmrg$as_echo "$TCPCONN" >&6; } 54137a0395d0Smrg if test "$TCPCONN" = "yes"; then 54147a0395d0Smrg 54157a0395d0Smrgcat >>confdefs.h <<\_ACEOF 54167a0395d0Smrg#define TCPCONN 1 54177a0395d0Smrg_ACEOF 54187a0395d0Smrg 54197a0395d0Smrg 54207a0395d0Smrg # SVR4 hides these in libraries other than libc 54217366012aSmrg { $as_echo "$as_me:$LINENO: checking for library containing socket" >&5 54227366012aSmrg$as_echo_n "checking for library containing socket... " >&6; } 54237a0395d0Smrgif test "${ac_cv_search_socket+set}" = set; then 54247366012aSmrg $as_echo_n "(cached) " >&6 54257a0395d0Smrgelse 54267a0395d0Smrg ac_func_search_save_LIBS=$LIBS 54277a0395d0Smrgcat >conftest.$ac_ext <<_ACEOF 54287a0395d0Smrg/* confdefs.h. */ 54297a0395d0Smrg_ACEOF 54307a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 54317a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 54327a0395d0Smrg/* end confdefs.h. */ 54337a0395d0Smrg 54347a0395d0Smrg/* Override any GCC internal prototype to avoid an error. 54357a0395d0Smrg Use char because int might match the return type of a GCC 54367a0395d0Smrg builtin and then its argument prototype would still apply. */ 54377a0395d0Smrg#ifdef __cplusplus 54387a0395d0Smrgextern "C" 54397a0395d0Smrg#endif 54407a0395d0Smrgchar socket (); 54417a0395d0Smrgint 54427a0395d0Smrgmain () 54437a0395d0Smrg{ 54447a0395d0Smrgreturn socket (); 54457a0395d0Smrg ; 54467a0395d0Smrg return 0; 54477a0395d0Smrg} 54487a0395d0Smrg_ACEOF 54497a0395d0Smrgfor ac_lib in '' socket; do 54507a0395d0Smrg if test -z "$ac_lib"; then 54517a0395d0Smrg ac_res="none required" 54527a0395d0Smrg else 54537a0395d0Smrg ac_res=-l$ac_lib 54547a0395d0Smrg LIBS="-l$ac_lib $ac_func_search_save_LIBS" 54557a0395d0Smrg fi 54567a0395d0Smrg rm -f conftest.$ac_objext conftest$ac_exeext 54577a0395d0Smrgif { (ac_try="$ac_link" 54587a0395d0Smrgcase "(($ac_try" in 54597a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 54607a0395d0Smrg *) ac_try_echo=$ac_try;; 54617a0395d0Smrgesac 54627366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 54637366012aSmrg$as_echo "$ac_try_echo") >&5 54647a0395d0Smrg (eval "$ac_link") 2>conftest.er1 54657a0395d0Smrg ac_status=$? 54667a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 54677a0395d0Smrg rm -f conftest.er1 54687a0395d0Smrg cat conftest.err >&5 54697366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 54707a0395d0Smrg (exit $ac_status); } && { 54717a0395d0Smrg test -z "$ac_c_werror_flag" || 54727a0395d0Smrg test ! -s conftest.err 54737366012aSmrg } && test -s conftest$ac_exeext && { 54747366012aSmrg test "$cross_compiling" = yes || 54757366012aSmrg $as_test_x conftest$ac_exeext 54767366012aSmrg }; then 54777a0395d0Smrg ac_cv_search_socket=$ac_res 54787a0395d0Smrgelse 54797366012aSmrg $as_echo "$as_me: failed program was:" >&5 54807a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 54817a0395d0Smrg 54827a0395d0Smrg 54837a0395d0Smrgfi 54847a0395d0Smrg 54857366012aSmrgrm -rf conftest.dSYM 54867a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 54877a0395d0Smrg conftest$ac_exeext 54887a0395d0Smrg if test "${ac_cv_search_socket+set}" = set; then 54897a0395d0Smrg break 54907a0395d0Smrgfi 54917a0395d0Smrgdone 54927a0395d0Smrgif test "${ac_cv_search_socket+set}" = set; then 54937a0395d0Smrg : 54947a0395d0Smrgelse 54957a0395d0Smrg ac_cv_search_socket=no 54967a0395d0Smrgfi 54977a0395d0Smrgrm conftest.$ac_ext 54987a0395d0SmrgLIBS=$ac_func_search_save_LIBS 54997a0395d0Smrgfi 55007366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5 55017366012aSmrg$as_echo "$ac_cv_search_socket" >&6; } 55027a0395d0Smrgac_res=$ac_cv_search_socket 55037a0395d0Smrgif test "$ac_res" != no; then 55047a0395d0Smrg test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 55057a0395d0Smrg 55067a0395d0Smrgfi 55077a0395d0Smrg 55087366012aSmrg { $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5 55097366012aSmrg$as_echo_n "checking for library containing gethostbyname... " >&6; } 55107a0395d0Smrgif test "${ac_cv_search_gethostbyname+set}" = set; then 55117366012aSmrg $as_echo_n "(cached) " >&6 55127a0395d0Smrgelse 55137a0395d0Smrg ac_func_search_save_LIBS=$LIBS 55147a0395d0Smrgcat >conftest.$ac_ext <<_ACEOF 55157a0395d0Smrg/* confdefs.h. */ 55167a0395d0Smrg_ACEOF 55177a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 55187a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 55197a0395d0Smrg/* end confdefs.h. */ 55207a0395d0Smrg 55217a0395d0Smrg/* Override any GCC internal prototype to avoid an error. 55227a0395d0Smrg Use char because int might match the return type of a GCC 55237a0395d0Smrg builtin and then its argument prototype would still apply. */ 55247a0395d0Smrg#ifdef __cplusplus 55257a0395d0Smrgextern "C" 55267a0395d0Smrg#endif 55277a0395d0Smrgchar gethostbyname (); 55287a0395d0Smrgint 55297a0395d0Smrgmain () 55307a0395d0Smrg{ 55317a0395d0Smrgreturn gethostbyname (); 55327a0395d0Smrg ; 55337a0395d0Smrg return 0; 55347a0395d0Smrg} 55357a0395d0Smrg_ACEOF 55367a0395d0Smrgfor ac_lib in '' nsl; do 55377a0395d0Smrg if test -z "$ac_lib"; then 55387a0395d0Smrg ac_res="none required" 55397a0395d0Smrg else 55407a0395d0Smrg ac_res=-l$ac_lib 55417a0395d0Smrg LIBS="-l$ac_lib $ac_func_search_save_LIBS" 55427a0395d0Smrg fi 55437a0395d0Smrg rm -f conftest.$ac_objext conftest$ac_exeext 55447a0395d0Smrgif { (ac_try="$ac_link" 55457a0395d0Smrgcase "(($ac_try" in 55467a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 55477a0395d0Smrg *) ac_try_echo=$ac_try;; 55487a0395d0Smrgesac 55497366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 55507366012aSmrg$as_echo "$ac_try_echo") >&5 55517a0395d0Smrg (eval "$ac_link") 2>conftest.er1 55527a0395d0Smrg ac_status=$? 55537a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 55547a0395d0Smrg rm -f conftest.er1 55557a0395d0Smrg cat conftest.err >&5 55567366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 55577a0395d0Smrg (exit $ac_status); } && { 55587a0395d0Smrg test -z "$ac_c_werror_flag" || 55597a0395d0Smrg test ! -s conftest.err 55607366012aSmrg } && test -s conftest$ac_exeext && { 55617366012aSmrg test "$cross_compiling" = yes || 55627366012aSmrg $as_test_x conftest$ac_exeext 55637366012aSmrg }; then 55647a0395d0Smrg ac_cv_search_gethostbyname=$ac_res 55657a0395d0Smrgelse 55667366012aSmrg $as_echo "$as_me: failed program was:" >&5 55677a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 55687a0395d0Smrg 55697a0395d0Smrg 55707a0395d0Smrgfi 55717a0395d0Smrg 55727366012aSmrgrm -rf conftest.dSYM 55737a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 55747a0395d0Smrg conftest$ac_exeext 55757a0395d0Smrg if test "${ac_cv_search_gethostbyname+set}" = set; then 55767a0395d0Smrg break 55777a0395d0Smrgfi 55787a0395d0Smrgdone 55797a0395d0Smrgif test "${ac_cv_search_gethostbyname+set}" = set; then 55807a0395d0Smrg : 55817a0395d0Smrgelse 55827a0395d0Smrg ac_cv_search_gethostbyname=no 55837a0395d0Smrgfi 55847a0395d0Smrgrm conftest.$ac_ext 55857a0395d0SmrgLIBS=$ac_func_search_save_LIBS 55867a0395d0Smrgfi 55877366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5 55887366012aSmrg$as_echo "$ac_cv_search_gethostbyname" >&6; } 55897a0395d0Smrgac_res=$ac_cv_search_gethostbyname 55907a0395d0Smrgif test "$ac_res" != no; then 55917a0395d0Smrg test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 55927a0395d0Smrg 55937a0395d0Smrgfi 55947a0395d0Smrg 55957a0395d0Smrg 55967366012aSmrg{ $as_echo "$as_me:$LINENO: checking for main in -lws2_32" >&5 55977366012aSmrg$as_echo_n "checking for main in -lws2_32... " >&6; } 55987366012aSmrgif test "${ac_cv_lib_ws2_32_main+set}" = set; then 55997366012aSmrg $as_echo_n "(cached) " >&6 56007366012aSmrgelse 56017366012aSmrg ac_check_lib_save_LIBS=$LIBS 56027366012aSmrgLIBS="-lws2_32 $LIBS" 56037366012aSmrgcat >conftest.$ac_ext <<_ACEOF 56047366012aSmrg/* confdefs.h. */ 56057366012aSmrg_ACEOF 56067366012aSmrgcat confdefs.h >>conftest.$ac_ext 56077366012aSmrgcat >>conftest.$ac_ext <<_ACEOF 56087366012aSmrg/* end confdefs.h. */ 56097366012aSmrg 56107366012aSmrg 56117366012aSmrgint 56127366012aSmrgmain () 56137366012aSmrg{ 56147366012aSmrgreturn main (); 56157366012aSmrg ; 56167366012aSmrg return 0; 56177366012aSmrg} 56187366012aSmrg_ACEOF 56197366012aSmrgrm -f conftest.$ac_objext conftest$ac_exeext 56207366012aSmrgif { (ac_try="$ac_link" 56217366012aSmrgcase "(($ac_try" in 56227366012aSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 56237366012aSmrg *) ac_try_echo=$ac_try;; 56247366012aSmrgesac 56257366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 56267366012aSmrg$as_echo "$ac_try_echo") >&5 56277366012aSmrg (eval "$ac_link") 2>conftest.er1 56287366012aSmrg ac_status=$? 56297366012aSmrg grep -v '^ *+' conftest.er1 >conftest.err 56307366012aSmrg rm -f conftest.er1 56317366012aSmrg cat conftest.err >&5 56327366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 56337366012aSmrg (exit $ac_status); } && { 56347366012aSmrg test -z "$ac_c_werror_flag" || 56357366012aSmrg test ! -s conftest.err 56367366012aSmrg } && test -s conftest$ac_exeext && { 56377366012aSmrg test "$cross_compiling" = yes || 56387366012aSmrg $as_test_x conftest$ac_exeext 56397366012aSmrg }; then 56407366012aSmrg ac_cv_lib_ws2_32_main=yes 56417366012aSmrgelse 56427366012aSmrg $as_echo "$as_me: failed program was:" >&5 56437366012aSmrgsed 's/^/| /' conftest.$ac_ext >&5 56447366012aSmrg 56457366012aSmrg ac_cv_lib_ws2_32_main=no 56467366012aSmrgfi 56477366012aSmrg 56487366012aSmrgrm -rf conftest.dSYM 56497366012aSmrgrm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 56507366012aSmrg conftest$ac_exeext conftest.$ac_ext 56517366012aSmrgLIBS=$ac_check_lib_save_LIBS 56527366012aSmrgfi 56537366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_main" >&5 56547366012aSmrg$as_echo "$ac_cv_lib_ws2_32_main" >&6; } 56557366012aSmrgif test "x$ac_cv_lib_ws2_32_main" = x""yes; then 56567366012aSmrg cat >>confdefs.h <<_ACEOF 56577366012aSmrg#define HAVE_LIBWS2_32 1 56587366012aSmrg_ACEOF 56597366012aSmrg 56607366012aSmrg LIBS="-lws2_32 $LIBS" 56617366012aSmrg 56627366012aSmrgfi 56637366012aSmrgac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main 56647366012aSmrg 56657366012aSmrg 56667a0395d0Smrg # Needs to come after above checks for libsocket & libnsl for SVR4 systems 56677a0395d0Smrg # Check whether --enable-ipv6 was given. 56687a0395d0Smrgif test "${enable_ipv6+set}" = set; then 56697a0395d0Smrg enableval=$enable_ipv6; IPV6CONN=$enableval 56707a0395d0Smrgelse 56717366012aSmrg { $as_echo "$as_me:$LINENO: checking for getaddrinfo" >&5 56727366012aSmrg$as_echo_n "checking for getaddrinfo... " >&6; } 56737a0395d0Smrgif test "${ac_cv_func_getaddrinfo+set}" = set; then 56747366012aSmrg $as_echo_n "(cached) " >&6 56757a0395d0Smrgelse 56767a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 56777a0395d0Smrg/* confdefs.h. */ 56787a0395d0Smrg_ACEOF 56797a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 56807a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 56817a0395d0Smrg/* end confdefs.h. */ 56827a0395d0Smrg/* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo. 56837a0395d0Smrg For example, HP-UX 11i <limits.h> declares gettimeofday. */ 56847a0395d0Smrg#define getaddrinfo innocuous_getaddrinfo 56857a0395d0Smrg 56867a0395d0Smrg/* System header to define __stub macros and hopefully few prototypes, 56877a0395d0Smrg which can conflict with char getaddrinfo (); below. 56887a0395d0Smrg Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 56897a0395d0Smrg <limits.h> exists even on freestanding compilers. */ 56907a0395d0Smrg 56917a0395d0Smrg#ifdef __STDC__ 56927a0395d0Smrg# include <limits.h> 56937a0395d0Smrg#else 56947a0395d0Smrg# include <assert.h> 56957a0395d0Smrg#endif 56967a0395d0Smrg 56977a0395d0Smrg#undef getaddrinfo 56987a0395d0Smrg 56997a0395d0Smrg/* Override any GCC internal prototype to avoid an error. 57007a0395d0Smrg Use char because int might match the return type of a GCC 57017a0395d0Smrg builtin and then its argument prototype would still apply. */ 57027a0395d0Smrg#ifdef __cplusplus 57037a0395d0Smrgextern "C" 57047a0395d0Smrg#endif 57057a0395d0Smrgchar getaddrinfo (); 57067a0395d0Smrg/* The GNU C library defines this for functions which it implements 57077a0395d0Smrg to always fail with ENOSYS. Some functions are actually named 57087a0395d0Smrg something starting with __ and the normal name is an alias. */ 57097a0395d0Smrg#if defined __stub_getaddrinfo || defined __stub___getaddrinfo 57107a0395d0Smrgchoke me 57117a0395d0Smrg#endif 57127a0395d0Smrg 57137a0395d0Smrgint 57147a0395d0Smrgmain () 57157a0395d0Smrg{ 57167a0395d0Smrgreturn getaddrinfo (); 57177a0395d0Smrg ; 57187a0395d0Smrg return 0; 57197a0395d0Smrg} 57207a0395d0Smrg_ACEOF 57217a0395d0Smrgrm -f conftest.$ac_objext conftest$ac_exeext 57227a0395d0Smrgif { (ac_try="$ac_link" 57237a0395d0Smrgcase "(($ac_try" in 57247a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 57257a0395d0Smrg *) ac_try_echo=$ac_try;; 57267a0395d0Smrgesac 57277366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 57287366012aSmrg$as_echo "$ac_try_echo") >&5 57297a0395d0Smrg (eval "$ac_link") 2>conftest.er1 57307a0395d0Smrg ac_status=$? 57317a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 57327a0395d0Smrg rm -f conftest.er1 57337a0395d0Smrg cat conftest.err >&5 57347366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 57357a0395d0Smrg (exit $ac_status); } && { 57367a0395d0Smrg test -z "$ac_c_werror_flag" || 57377a0395d0Smrg test ! -s conftest.err 57387366012aSmrg } && test -s conftest$ac_exeext && { 57397366012aSmrg test "$cross_compiling" = yes || 57407366012aSmrg $as_test_x conftest$ac_exeext 57417366012aSmrg }; then 57427a0395d0Smrg ac_cv_func_getaddrinfo=yes 57437a0395d0Smrgelse 57447366012aSmrg $as_echo "$as_me: failed program was:" >&5 57457a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 57467a0395d0Smrg 57477a0395d0Smrg ac_cv_func_getaddrinfo=no 57487a0395d0Smrgfi 57497a0395d0Smrg 57507366012aSmrgrm -rf conftest.dSYM 57517a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 57527a0395d0Smrg conftest$ac_exeext conftest.$ac_ext 57537a0395d0Smrgfi 57547366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5 57557366012aSmrg$as_echo "$ac_cv_func_getaddrinfo" >&6; } 57567366012aSmrgif test "x$ac_cv_func_getaddrinfo" = x""yes; then 57577a0395d0Smrg IPV6CONN=yes 57587a0395d0Smrgelse 57597a0395d0Smrg IPV6CONN=no 57607a0395d0Smrgfi 57617a0395d0Smrg 57627a0395d0Smrgfi 57637a0395d0Smrg 57647366012aSmrg { $as_echo "$as_me:$LINENO: checking if IPv6 support should be built" >&5 57657366012aSmrg$as_echo_n "checking if IPv6 support should be built... " >&6; } 57667a0395d0Smrg if test "$IPV6CONN" = "yes"; then 57677a0395d0Smrg 57687a0395d0Smrgcat >>confdefs.h <<\_ACEOF 57697a0395d0Smrg#define IPv6 1 57707a0395d0Smrg_ACEOF 57717a0395d0Smrg 57727a0395d0Smrg fi 57737366012aSmrg { $as_echo "$as_me:$LINENO: result: $IPV6CONN" >&5 57747366012aSmrg$as_echo "$IPV6CONN" >&6; } 57757a0395d0Smrg 57767a0395d0Smrg # 4.3BSD-Reno added a new member to struct sockaddr_in 57777366012aSmrg { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5 57787366012aSmrg$as_echo_n "checking for struct sockaddr_in.sin_len... " >&6; } 57797a0395d0Smrgif test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then 57807366012aSmrg $as_echo_n "(cached) " >&6 57817a0395d0Smrgelse 57827a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 57837a0395d0Smrg/* confdefs.h. */ 57847a0395d0Smrg_ACEOF 57857a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 57867a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 57877a0395d0Smrg/* end confdefs.h. */ 57887a0395d0Smrg 57897a0395d0Smrg#include <sys/types.h> 57907a0395d0Smrg#include <sys/socket.h> 57917a0395d0Smrg#include <netinet/in.h> 57927a0395d0Smrg 57937a0395d0Smrg 57947a0395d0Smrgint 57957a0395d0Smrgmain () 57967a0395d0Smrg{ 57977366012aSmrgstatic struct sockaddr_in ac_aggr; 57987366012aSmrgif (ac_aggr.sin_len) 57997366012aSmrgreturn 0; 58007366012aSmrg ; 58017366012aSmrg return 0; 58027366012aSmrg} 58037366012aSmrg_ACEOF 58047366012aSmrgrm -f conftest.$ac_objext 58057366012aSmrgif { (ac_try="$ac_compile" 58067366012aSmrgcase "(($ac_try" in 58077366012aSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 58087366012aSmrg *) ac_try_echo=$ac_try;; 58097366012aSmrgesac 58107366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 58117366012aSmrg$as_echo "$ac_try_echo") >&5 58127366012aSmrg (eval "$ac_compile") 2>conftest.er1 58137366012aSmrg ac_status=$? 58147366012aSmrg grep -v '^ *+' conftest.er1 >conftest.err 58157366012aSmrg rm -f conftest.er1 58167366012aSmrg cat conftest.err >&5 58177366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 58187366012aSmrg (exit $ac_status); } && { 58197366012aSmrg test -z "$ac_c_werror_flag" || 58207366012aSmrg test ! -s conftest.err 58217366012aSmrg } && test -s conftest.$ac_objext; then 58227366012aSmrg ac_cv_member_struct_sockaddr_in_sin_len=yes 58237366012aSmrgelse 58247366012aSmrg $as_echo "$as_me: failed program was:" >&5 58257366012aSmrgsed 's/^/| /' conftest.$ac_ext >&5 58267366012aSmrg 58277366012aSmrg cat >conftest.$ac_ext <<_ACEOF 58287366012aSmrg/* confdefs.h. */ 58297366012aSmrg_ACEOF 58307366012aSmrgcat confdefs.h >>conftest.$ac_ext 58317366012aSmrgcat >>conftest.$ac_ext <<_ACEOF 58327366012aSmrg/* end confdefs.h. */ 58337366012aSmrg 58347366012aSmrg#include <sys/types.h> 58357366012aSmrg#include <sys/socket.h> 58367366012aSmrg#include <netinet/in.h> 58377366012aSmrg 58387366012aSmrg 58397366012aSmrgint 58407366012aSmrgmain () 58417366012aSmrg{ 58427366012aSmrgstatic struct sockaddr_in ac_aggr; 58437366012aSmrgif (sizeof ac_aggr.sin_len) 58447366012aSmrgreturn 0; 58457366012aSmrg ; 58467366012aSmrg return 0; 58477366012aSmrg} 58487366012aSmrg_ACEOF 58497366012aSmrgrm -f conftest.$ac_objext 58507366012aSmrgif { (ac_try="$ac_compile" 58517366012aSmrgcase "(($ac_try" in 58527366012aSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 58537366012aSmrg *) ac_try_echo=$ac_try;; 58547366012aSmrgesac 58557366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 58567366012aSmrg$as_echo "$ac_try_echo") >&5 58577366012aSmrg (eval "$ac_compile") 2>conftest.er1 58587366012aSmrg ac_status=$? 58597366012aSmrg grep -v '^ *+' conftest.er1 >conftest.err 58607366012aSmrg rm -f conftest.er1 58617366012aSmrg cat conftest.err >&5 58627366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 58637366012aSmrg (exit $ac_status); } && { 58647366012aSmrg test -z "$ac_c_werror_flag" || 58657366012aSmrg test ! -s conftest.err 58667366012aSmrg } && test -s conftest.$ac_objext; then 58677366012aSmrg ac_cv_member_struct_sockaddr_in_sin_len=yes 58687366012aSmrgelse 58697366012aSmrg $as_echo "$as_me: failed program was:" >&5 58707366012aSmrgsed 's/^/| /' conftest.$ac_ext >&5 58717366012aSmrg 58727366012aSmrg ac_cv_member_struct_sockaddr_in_sin_len=no 58737366012aSmrgfi 58747366012aSmrg 58757366012aSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 58767366012aSmrgfi 58777366012aSmrg 58787366012aSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 58797366012aSmrgfi 58807366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5 58817366012aSmrg$as_echo "$ac_cv_member_struct_sockaddr_in_sin_len" >&6; } 58827366012aSmrgif test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then 58837366012aSmrg 58847366012aSmrgcat >>confdefs.h <<\_ACEOF 58857366012aSmrg#define BSD44SOCKETS 1 58867366012aSmrg_ACEOF 58877366012aSmrg 58887366012aSmrgfi 58897366012aSmrg 58907366012aSmrg 58917366012aSmrg # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc. 58927366012aSmrg { $as_echo "$as_me:$LINENO: checking for socklen_t" >&5 58937366012aSmrg$as_echo_n "checking for socklen_t... " >&6; } 58947366012aSmrgif test "${ac_cv_type_socklen_t+set}" = set; then 58957366012aSmrg $as_echo_n "(cached) " >&6 58967366012aSmrgelse 58977366012aSmrg ac_cv_type_socklen_t=no 58987366012aSmrgcat >conftest.$ac_ext <<_ACEOF 58997366012aSmrg/* confdefs.h. */ 59007366012aSmrg_ACEOF 59017366012aSmrgcat confdefs.h >>conftest.$ac_ext 59027366012aSmrgcat >>conftest.$ac_ext <<_ACEOF 59037366012aSmrg/* end confdefs.h. */ 59047366012aSmrg 59057366012aSmrg$ac_includes_default 59067366012aSmrg#include <sys/socket.h> 59077366012aSmrg 59087366012aSmrgint 59097366012aSmrgmain () 59107366012aSmrg{ 59117366012aSmrgif (sizeof (socklen_t)) 59127366012aSmrg return 0; 59137a0395d0Smrg ; 59147a0395d0Smrg return 0; 59157a0395d0Smrg} 59167a0395d0Smrg_ACEOF 59177a0395d0Smrgrm -f conftest.$ac_objext 59187a0395d0Smrgif { (ac_try="$ac_compile" 59197a0395d0Smrgcase "(($ac_try" in 59207a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 59217a0395d0Smrg *) ac_try_echo=$ac_try;; 59227a0395d0Smrgesac 59237366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 59247366012aSmrg$as_echo "$ac_try_echo") >&5 59257a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 59267a0395d0Smrg ac_status=$? 59277a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 59287a0395d0Smrg rm -f conftest.er1 59297a0395d0Smrg cat conftest.err >&5 59307366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 59317a0395d0Smrg (exit $ac_status); } && { 59327a0395d0Smrg test -z "$ac_c_werror_flag" || 59337a0395d0Smrg test ! -s conftest.err 59347a0395d0Smrg } && test -s conftest.$ac_objext; then 59357366012aSmrg cat >conftest.$ac_ext <<_ACEOF 59367a0395d0Smrg/* confdefs.h. */ 59377a0395d0Smrg_ACEOF 59387a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 59397a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 59407a0395d0Smrg/* end confdefs.h. */ 59417a0395d0Smrg 59427366012aSmrg$ac_includes_default 59437a0395d0Smrg#include <sys/socket.h> 59447a0395d0Smrg 59457a0395d0Smrgint 59467a0395d0Smrgmain () 59477a0395d0Smrg{ 59487366012aSmrgif (sizeof ((socklen_t))) 59497366012aSmrg return 0; 59507a0395d0Smrg ; 59517a0395d0Smrg return 0; 59527a0395d0Smrg} 59537a0395d0Smrg_ACEOF 59547a0395d0Smrgrm -f conftest.$ac_objext 59557a0395d0Smrgif { (ac_try="$ac_compile" 59567a0395d0Smrgcase "(($ac_try" in 59577a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 59587a0395d0Smrg *) ac_try_echo=$ac_try;; 59597a0395d0Smrgesac 59607366012aSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 59617366012aSmrg$as_echo "$ac_try_echo") >&5 59627a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 59637a0395d0Smrg ac_status=$? 59647a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 59657a0395d0Smrg rm -f conftest.er1 59667a0395d0Smrg cat conftest.err >&5 59677366012aSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 59687a0395d0Smrg (exit $ac_status); } && { 59697a0395d0Smrg test -z "$ac_c_werror_flag" || 59707a0395d0Smrg test ! -s conftest.err 59717a0395d0Smrg } && test -s conftest.$ac_objext; then 59727366012aSmrg : 59737a0395d0Smrgelse 59747366012aSmrg $as_echo "$as_me: failed program was:" >&5 59757a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 59767a0395d0Smrg 59777366012aSmrg ac_cv_type_socklen_t=yes 59787a0395d0Smrgfi 59797a0395d0Smrg 59807a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 59817366012aSmrgelse 59827366012aSmrg $as_echo "$as_me: failed program was:" >&5 59837366012aSmrgsed 's/^/| /' conftest.$ac_ext >&5 59847366012aSmrg 59857366012aSmrg 59867a0395d0Smrgfi 59877a0395d0Smrg 59887a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 59897a0395d0Smrgfi 59907366012aSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 59917366012aSmrg$as_echo "$ac_cv_type_socklen_t" >&6; } 59927366012aSmrgif test "x$ac_cv_type_socklen_t" = x""yes; then 59937a0395d0Smrg 59947366012aSmrgcat >>confdefs.h <<_ACEOF 59957366012aSmrg#define HAVE_SOCKLEN_T 1 59967a0395d0Smrg_ACEOF 59977a0395d0Smrg 59987366012aSmrg 59997a0395d0Smrgfi 60007a0395d0Smrg 60017a0395d0Smrg 60027366012aSmrg 60037a0395d0Smrg fi 60047a0395d0Smrg case $host_os in 60057a0395d0Smrg solaris*|sco*|sysv4*) localdef="yes" ;; 60067a0395d0Smrg *) localdef="no" ;; 60077a0395d0Smrg esac 60087a0395d0Smrg # Check whether --enable-local-transport was given. 60097a0395d0Smrgif test "${enable_local_transport+set}" = set; then 60107a0395d0Smrg enableval=$enable_local_transport; LOCALCONN=$enableval 60117a0395d0Smrgelse 60127a0395d0Smrg LOCALCONN=$localdef 60137a0395d0Smrgfi 60147a0395d0Smrg 60157366012aSmrg { $as_echo "$as_me:$LINENO: checking if Xtrans should support os-specific local connections" >&5 60167366012aSmrg$as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; } 60177366012aSmrg { $as_echo "$as_me:$LINENO: result: $LOCALCONN" >&5 60187366012aSmrg$as_echo "$LOCALCONN" >&6; } 60197a0395d0Smrg if test "$LOCALCONN" = "yes"; then 60207a0395d0Smrg 60217a0395d0Smrgcat >>confdefs.h <<\_ACEOF 60227a0395d0Smrg#define LOCALCONN 1 60237a0395d0Smrg_ACEOF 60247a0395d0Smrg 60257a0395d0Smrg fi 60267a0395d0Smrg 60277a0395d0Smrg 60287a0395d0Smrg 60297a0395d0Smrg 60307a0395d0Smrg 60317a0395d0Smrg# Allow checking code with lint, sparse, etc. 60327a0395d0Smrg 60337a0395d0Smrg# Check whether --with-lint was given. 60347a0395d0Smrgif test "${with_lint+set}" = set; then 60357a0395d0Smrg withval=$with_lint; use_lint=$withval 60367a0395d0Smrgelse 60377a0395d0Smrg use_lint=no 60387a0395d0Smrgfi 60397a0395d0Smrg 60407a0395d0Smrgif test "x$use_lint" = "xyes" ; then 60417a0395d0Smrg LINT="lint" 60427a0395d0Smrgelse 60437a0395d0Smrg LINT="$use_lint" 60447a0395d0Smrgfi 60457a0395d0Smrgif test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then 60467a0395d0Smrg case $LINT in 60477a0395d0Smrg lint|*/lint) 60487a0395d0Smrg case $host_os in 60497a0395d0Smrg solaris*) 60507a0395d0Smrg LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2" 60517a0395d0Smrg ;; 60527a0395d0Smrg esac 60537a0395d0Smrg ;; 60547a0395d0Smrg esac 60557a0395d0Smrgfi 60567a0395d0Smrg 60577a0395d0Smrg 60587a0395d0Smrg 60597a0395d0Smrg if test x$LINT != xno; then 60607a0395d0Smrg LINT_TRUE= 60617a0395d0Smrg LINT_FALSE='#' 60627a0395d0Smrgelse 60637a0395d0Smrg LINT_TRUE='#' 60647a0395d0Smrg LINT_FALSE= 60657a0395d0Smrgfi 60667a0395d0Smrg 60677a0395d0Smrg 60687a0395d0Smrg 60697a0395d0Smrg 60707a0395d0Smrgac_config_files="$ac_config_files Makefile" 60717a0395d0Smrg 60727a0395d0Smrgcat >confcache <<\_ACEOF 60737a0395d0Smrg# This file is a shell script that caches the results of configure 60747a0395d0Smrg# tests run on this system so they can be shared between configure 60757a0395d0Smrg# scripts and configure runs, see configure's option --config-cache. 60767a0395d0Smrg# It is not useful on other systems. If it contains results you don't 60777a0395d0Smrg# want to keep, you may remove or edit it. 60787a0395d0Smrg# 60797a0395d0Smrg# config.status only pays attention to the cache file if you give it 60807a0395d0Smrg# the --recheck option to rerun configure. 60817a0395d0Smrg# 60827a0395d0Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 60837a0395d0Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 60847a0395d0Smrg# following values. 60857a0395d0Smrg 60867a0395d0Smrg_ACEOF 60877a0395d0Smrg 60887a0395d0Smrg# The following way of writing the cache mishandles newlines in values, 60897a0395d0Smrg# but we know of no workaround that is simple, portable, and efficient. 60907a0395d0Smrg# So, we kill variables containing newlines. 60917a0395d0Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 60927a0395d0Smrg# and sets the high bit in the cache file unless we assign to the vars. 60937a0395d0Smrg( 60947a0395d0Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 60957a0395d0Smrg eval ac_val=\$$ac_var 60967a0395d0Smrg case $ac_val in #( 60977a0395d0Smrg *${as_nl}*) 60987a0395d0Smrg case $ac_var in #( 60997366012aSmrg *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 61007366012aSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 61017a0395d0Smrg esac 61027a0395d0Smrg case $ac_var in #( 61037a0395d0Smrg _ | IFS | as_nl) ;; #( 61047366012aSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 61057a0395d0Smrg *) $as_unset $ac_var ;; 61067a0395d0Smrg esac ;; 61077a0395d0Smrg esac 61087a0395d0Smrg done 61097a0395d0Smrg 61107a0395d0Smrg (set) 2>&1 | 61117a0395d0Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 61127a0395d0Smrg *${as_nl}ac_space=\ *) 61137a0395d0Smrg # `set' does not quote correctly, so add quotes (double-quote 61147a0395d0Smrg # substitution turns \\\\ into \\, and sed turns \\ into \). 61157a0395d0Smrg sed -n \ 61167a0395d0Smrg "s/'/'\\\\''/g; 61177a0395d0Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 61187a0395d0Smrg ;; #( 61197a0395d0Smrg *) 61207a0395d0Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 61217a0395d0Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 61227a0395d0Smrg ;; 61237a0395d0Smrg esac | 61247a0395d0Smrg sort 61257a0395d0Smrg) | 61267a0395d0Smrg sed ' 61277a0395d0Smrg /^ac_cv_env_/b end 61287a0395d0Smrg t clear 61297a0395d0Smrg :clear 61307a0395d0Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 61317a0395d0Smrg t end 61327a0395d0Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 61337a0395d0Smrg :end' >>confcache 61347a0395d0Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 61357a0395d0Smrg if test -w "$cache_file"; then 61367a0395d0Smrg test "x$cache_file" != "x/dev/null" && 61377366012aSmrg { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 61387366012aSmrg$as_echo "$as_me: updating cache $cache_file" >&6;} 61397a0395d0Smrg cat confcache >$cache_file 61407a0395d0Smrg else 61417366012aSmrg { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 61427366012aSmrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 61437a0395d0Smrg fi 61447a0395d0Smrgfi 61457a0395d0Smrgrm -f confcache 61467a0395d0Smrg 61477a0395d0Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 61487a0395d0Smrg# Let make expand exec_prefix. 61497a0395d0Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 61507a0395d0Smrg 61517a0395d0SmrgDEFS=-DHAVE_CONFIG_H 61527a0395d0Smrg 61537a0395d0Smrgac_libobjs= 61547a0395d0Smrgac_ltlibobjs= 61557a0395d0Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 61567a0395d0Smrg # 1. Remove the extension, and $U if already installed. 61577a0395d0Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 61587366012aSmrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 61597a0395d0Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 61607a0395d0Smrg # will be set to the directory where LIBOBJS objects are built. 61617a0395d0Smrg ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 61627a0395d0Smrg ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 61637a0395d0Smrgdone 61647a0395d0SmrgLIBOBJS=$ac_libobjs 61657a0395d0Smrg 61667a0395d0SmrgLTLIBOBJS=$ac_ltlibobjs 61677a0395d0Smrg 61687a0395d0Smrg 61697366012aSmrg if test -n "$EXEEXT"; then 61707366012aSmrg am__EXEEXT_TRUE= 61717366012aSmrg am__EXEEXT_FALSE='#' 61727366012aSmrgelse 61737366012aSmrg am__EXEEXT_TRUE='#' 61747366012aSmrg am__EXEEXT_FALSE= 61757366012aSmrgfi 61767366012aSmrg 61777a0395d0Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 61787366012aSmrg { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 61797a0395d0SmrgUsually this means the macro was only invoked conditionally." >&5 61807366012aSmrg$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 61817a0395d0SmrgUsually this means the macro was only invoked conditionally." >&2;} 61827a0395d0Smrg { (exit 1); exit 1; }; } 61837a0395d0Smrgfi 61847a0395d0Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 61857366012aSmrg { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 61867a0395d0SmrgUsually this means the macro was only invoked conditionally." >&5 61877366012aSmrg$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 61887a0395d0SmrgUsually this means the macro was only invoked conditionally." >&2;} 61897a0395d0Smrg { (exit 1); exit 1; }; } 61907a0395d0Smrgfi 61917a0395d0Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 61927366012aSmrg { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 61937a0395d0SmrgUsually this means the macro was only invoked conditionally." >&5 61947366012aSmrg$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 61957a0395d0SmrgUsually this means the macro was only invoked conditionally." >&2;} 61967a0395d0Smrg { (exit 1); exit 1; }; } 61977a0395d0Smrgfi 61987a0395d0Smrgif test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then 61997366012aSmrg { { $as_echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined. 62007a0395d0SmrgUsually this means the macro was only invoked conditionally." >&5 62017366012aSmrg$as_echo "$as_me: error: conditional \"LINT\" was never defined. 62027a0395d0SmrgUsually this means the macro was only invoked conditionally." >&2;} 62037a0395d0Smrg { (exit 1); exit 1; }; } 62047a0395d0Smrgfi 62057a0395d0Smrg 62067a0395d0Smrg: ${CONFIG_STATUS=./config.status} 62077366012aSmrgac_write_fail=0 62087a0395d0Smrgac_clean_files_save=$ac_clean_files 62097a0395d0Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 62107366012aSmrg{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 62117366012aSmrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 62127366012aSmrgcat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 62137a0395d0Smrg#! $SHELL 62147a0395d0Smrg# Generated by $as_me. 62157a0395d0Smrg# Run this file to recreate the current configuration. 62167a0395d0Smrg# Compiler output produced by configure, useful for debugging 62177a0395d0Smrg# configure, is in config.log if it exists. 62187a0395d0Smrg 62197a0395d0Smrgdebug=false 62207a0395d0Smrgac_cs_recheck=false 62217a0395d0Smrgac_cs_silent=false 62227a0395d0SmrgSHELL=\${CONFIG_SHELL-$SHELL} 62237a0395d0Smrg_ACEOF 62247a0395d0Smrg 62257366012aSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 62267a0395d0Smrg## --------------------- ## 62277a0395d0Smrg## M4sh Initialization. ## 62287a0395d0Smrg## --------------------- ## 62297a0395d0Smrg 62307a0395d0Smrg# Be more Bourne compatible 62317a0395d0SmrgDUALCASE=1; export DUALCASE # for MKS sh 62327a0395d0Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 62337a0395d0Smrg emulate sh 62347a0395d0Smrg NULLCMD=: 62357366012aSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 62367a0395d0Smrg # is contrary to our usage. Disable this feature. 62377a0395d0Smrg alias -g '${1+"$@"}'='"$@"' 62387a0395d0Smrg setopt NO_GLOB_SUBST 62397a0395d0Smrgelse 62407a0395d0Smrg case `(set -o) 2>/dev/null` in 62417a0395d0Smrg *posix*) set -o posix ;; 62427a0395d0Smrgesac 62437a0395d0Smrg 62447a0395d0Smrgfi 62457a0395d0Smrg 62467a0395d0Smrg 62477a0395d0Smrg 62487a0395d0Smrg 62497a0395d0Smrg# PATH needs CR 62507a0395d0Smrg# Avoid depending upon Character Ranges. 62517a0395d0Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 62527a0395d0Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 62537a0395d0Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 62547a0395d0Smrgas_cr_digits='0123456789' 62557a0395d0Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 62567a0395d0Smrg 62577366012aSmrgas_nl=' 62587366012aSmrg' 62597366012aSmrgexport as_nl 62607366012aSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 62617366012aSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 62627366012aSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 62637366012aSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 62647366012aSmrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 62657366012aSmrg as_echo='printf %s\n' 62667366012aSmrg as_echo_n='printf %s' 62677366012aSmrgelse 62687366012aSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 62697366012aSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 62707366012aSmrg as_echo_n='/usr/ucb/echo -n' 62717a0395d0Smrg else 62727366012aSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 62737366012aSmrg as_echo_n_body='eval 62747366012aSmrg arg=$1; 62757366012aSmrg case $arg in 62767366012aSmrg *"$as_nl"*) 62777366012aSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 62787366012aSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62797366012aSmrg esac; 62807366012aSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 62817366012aSmrg ' 62827366012aSmrg export as_echo_n_body 62837366012aSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 62847a0395d0Smrg fi 62857366012aSmrg export as_echo_body 62867366012aSmrg as_echo='sh -c $as_echo_body as_echo' 62877366012aSmrgfi 62887366012aSmrg 62897366012aSmrg# The user is always right. 62907366012aSmrgif test "${PATH_SEPARATOR+set}" != set; then 62917366012aSmrg PATH_SEPARATOR=: 62927366012aSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 62937366012aSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 62947366012aSmrg PATH_SEPARATOR=';' 62957366012aSmrg } 62967a0395d0Smrgfi 62977a0395d0Smrg 62987a0395d0Smrg# Support unset when possible. 62997a0395d0Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 63007a0395d0Smrg as_unset=unset 63017a0395d0Smrgelse 63027a0395d0Smrg as_unset=false 63037a0395d0Smrgfi 63047a0395d0Smrg 63057a0395d0Smrg 63067a0395d0Smrg# IFS 63077a0395d0Smrg# We need space, tab and new line, in precisely that order. Quoting is 63087a0395d0Smrg# there to prevent editors from complaining about space-tab. 63097a0395d0Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 63107a0395d0Smrg# splitting by setting IFS to empty value.) 63117a0395d0SmrgIFS=" "" $as_nl" 63127a0395d0Smrg 63137a0395d0Smrg# Find who we are. Look in the path if we contain no directory separator. 63147a0395d0Smrgcase $0 in 63157a0395d0Smrg *[\\/]* ) as_myself=$0 ;; 63167a0395d0Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 63177a0395d0Smrgfor as_dir in $PATH 63187a0395d0Smrgdo 63197a0395d0Smrg IFS=$as_save_IFS 63207a0395d0Smrg test -z "$as_dir" && as_dir=. 63217a0395d0Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 63227a0395d0Smrgdone 63237a0395d0SmrgIFS=$as_save_IFS 63247a0395d0Smrg 63257a0395d0Smrg ;; 63267a0395d0Smrgesac 63277a0395d0Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 63287a0395d0Smrg# in which case we are not to be found in the path. 63297a0395d0Smrgif test "x$as_myself" = x; then 63307a0395d0Smrg as_myself=$0 63317a0395d0Smrgfi 63327a0395d0Smrgif test ! -f "$as_myself"; then 63337366012aSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 63347a0395d0Smrg { (exit 1); exit 1; } 63357a0395d0Smrgfi 63367a0395d0Smrg 63377a0395d0Smrg# Work around bugs in pre-3.0 UWIN ksh. 63387a0395d0Smrgfor as_var in ENV MAIL MAILPATH 63397a0395d0Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 63407a0395d0Smrgdone 63417a0395d0SmrgPS1='$ ' 63427a0395d0SmrgPS2='> ' 63437a0395d0SmrgPS4='+ ' 63447a0395d0Smrg 63457a0395d0Smrg# NLS nuisances. 63467366012aSmrgLC_ALL=C 63477366012aSmrgexport LC_ALL 63487366012aSmrgLANGUAGE=C 63497366012aSmrgexport LANGUAGE 63507a0395d0Smrg 63517a0395d0Smrg# Required to use basename. 63527a0395d0Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 63537a0395d0Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 63547a0395d0Smrg as_expr=expr 63557a0395d0Smrgelse 63567a0395d0Smrg as_expr=false 63577a0395d0Smrgfi 63587a0395d0Smrg 63597a0395d0Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 63607a0395d0Smrg as_basename=basename 63617a0395d0Smrgelse 63627a0395d0Smrg as_basename=false 63637a0395d0Smrgfi 63647a0395d0Smrg 63657a0395d0Smrg 63667a0395d0Smrg# Name of the executable. 63677a0395d0Smrgas_me=`$as_basename -- "$0" || 63687a0395d0Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 63697a0395d0Smrg X"$0" : 'X\(//\)$' \| \ 63707a0395d0Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 63717366012aSmrg$as_echo X/"$0" | 63727a0395d0Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 63737a0395d0Smrg s//\1/ 63747a0395d0Smrg q 63757a0395d0Smrg } 63767a0395d0Smrg /^X\/\(\/\/\)$/{ 63777a0395d0Smrg s//\1/ 63787a0395d0Smrg q 63797a0395d0Smrg } 63807a0395d0Smrg /^X\/\(\/\).*/{ 63817a0395d0Smrg s//\1/ 63827a0395d0Smrg q 63837a0395d0Smrg } 63847a0395d0Smrg s/.*/./; q'` 63857a0395d0Smrg 63867a0395d0Smrg# CDPATH. 63877a0395d0Smrg$as_unset CDPATH 63887a0395d0Smrg 63897a0395d0Smrg 63907a0395d0Smrg 63917a0395d0Smrg as_lineno_1=$LINENO 63927a0395d0Smrg as_lineno_2=$LINENO 63937a0395d0Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 63947a0395d0Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 63957a0395d0Smrg 63967a0395d0Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 63977a0395d0Smrg # uniformly replaced by the line number. The first 'sed' inserts a 63987a0395d0Smrg # line-number line after each line using $LINENO; the second 'sed' 63997a0395d0Smrg # does the real work. The second script uses 'N' to pair each 64007a0395d0Smrg # line-number line with the line containing $LINENO, and appends 64017a0395d0Smrg # trailing '-' during substitution so that $LINENO is not a special 64027a0395d0Smrg # case at line end. 64037a0395d0Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 64047a0395d0Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 64057a0395d0Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 64067a0395d0Smrg sed -n ' 64077a0395d0Smrg p 64087a0395d0Smrg /[$]LINENO/= 64097a0395d0Smrg ' <$as_myself | 64107a0395d0Smrg sed ' 64117a0395d0Smrg s/[$]LINENO.*/&-/ 64127a0395d0Smrg t lineno 64137a0395d0Smrg b 64147a0395d0Smrg :lineno 64157a0395d0Smrg N 64167a0395d0Smrg :loop 64177a0395d0Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 64187a0395d0Smrg t loop 64197a0395d0Smrg s/-\n.*// 64207a0395d0Smrg ' >$as_me.lineno && 64217a0395d0Smrg chmod +x "$as_me.lineno" || 64227366012aSmrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 64237a0395d0Smrg { (exit 1); exit 1; }; } 64247a0395d0Smrg 64257a0395d0Smrg # Don't try to exec as it changes $[0], causing all sort of problems 64267a0395d0Smrg # (the dirname of $[0] is not the place where we might find the 64277a0395d0Smrg # original and so on. Autoconf is especially sensitive to this). 64287a0395d0Smrg . "./$as_me.lineno" 64297a0395d0Smrg # Exit status is that of the last command. 64307a0395d0Smrg exit 64317a0395d0Smrg} 64327a0395d0Smrg 64337a0395d0Smrg 64347a0395d0Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 64357a0395d0Smrg as_dirname=dirname 64367a0395d0Smrgelse 64377a0395d0Smrg as_dirname=false 64387a0395d0Smrgfi 64397a0395d0Smrg 64407a0395d0SmrgECHO_C= ECHO_N= ECHO_T= 64417a0395d0Smrgcase `echo -n x` in 64427a0395d0Smrg-n*) 64437a0395d0Smrg case `echo 'x\c'` in 64447a0395d0Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 64457a0395d0Smrg *) ECHO_C='\c';; 64467a0395d0Smrg esac;; 64477a0395d0Smrg*) 64487a0395d0Smrg ECHO_N='-n';; 64497a0395d0Smrgesac 64507a0395d0Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 64517a0395d0Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 64527a0395d0Smrg as_expr=expr 64537a0395d0Smrgelse 64547a0395d0Smrg as_expr=false 64557a0395d0Smrgfi 64567a0395d0Smrg 64577a0395d0Smrgrm -f conf$$ conf$$.exe conf$$.file 64587a0395d0Smrgif test -d conf$$.dir; then 64597a0395d0Smrg rm -f conf$$.dir/conf$$.file 64607a0395d0Smrgelse 64617a0395d0Smrg rm -f conf$$.dir 64627366012aSmrg mkdir conf$$.dir 2>/dev/null 64637366012aSmrgfi 64647366012aSmrgif (echo >conf$$.file) 2>/dev/null; then 64657366012aSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 64667366012aSmrg as_ln_s='ln -s' 64677366012aSmrg # ... but there are two gotchas: 64687366012aSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 64697366012aSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 64707366012aSmrg # In both cases, we have to default to `cp -p'. 64717366012aSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 64727366012aSmrg as_ln_s='cp -p' 64737366012aSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 64747366012aSmrg as_ln_s=ln 64757366012aSmrg else 64767a0395d0Smrg as_ln_s='cp -p' 64777366012aSmrg fi 64787a0395d0Smrgelse 64797a0395d0Smrg as_ln_s='cp -p' 64807a0395d0Smrgfi 64817a0395d0Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 64827a0395d0Smrgrmdir conf$$.dir 2>/dev/null 64837a0395d0Smrg 64847a0395d0Smrgif mkdir -p . 2>/dev/null; then 64857a0395d0Smrg as_mkdir_p=: 64867a0395d0Smrgelse 64877a0395d0Smrg test -d ./-p && rmdir ./-p 64887a0395d0Smrg as_mkdir_p=false 64897a0395d0Smrgfi 64907a0395d0Smrg 64917a0395d0Smrgif test -x / >/dev/null 2>&1; then 64927a0395d0Smrg as_test_x='test -x' 64937a0395d0Smrgelse 64947a0395d0Smrg if ls -dL / >/dev/null 2>&1; then 64957a0395d0Smrg as_ls_L_option=L 64967a0395d0Smrg else 64977a0395d0Smrg as_ls_L_option= 64987a0395d0Smrg fi 64997a0395d0Smrg as_test_x=' 65007a0395d0Smrg eval sh -c '\'' 65017a0395d0Smrg if test -d "$1"; then 65027366012aSmrg test -d "$1/."; 65037a0395d0Smrg else 65047a0395d0Smrg case $1 in 65057366012aSmrg -*)set "./$1";; 65067a0395d0Smrg esac; 65077a0395d0Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 65087a0395d0Smrg ???[sx]*):;;*)false;;esac;fi 65097a0395d0Smrg '\'' sh 65107a0395d0Smrg ' 65117a0395d0Smrgfi 65127a0395d0Smrgas_executable_p=$as_test_x 65137a0395d0Smrg 65147a0395d0Smrg# Sed expression to map a string onto a valid CPP name. 65157a0395d0Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 65167a0395d0Smrg 65177a0395d0Smrg# Sed expression to map a string onto a valid variable name. 65187a0395d0Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 65197a0395d0Smrg 65207a0395d0Smrg 65217a0395d0Smrgexec 6>&1 65227a0395d0Smrg 65237a0395d0Smrg# Save the log message, to keep $[0] and so on meaningful, and to 65247a0395d0Smrg# report actual input values of CONFIG_FILES etc. instead of their 65257a0395d0Smrg# values after options handling. 65267a0395d0Smrgac_log=" 65277366012aSmrgThis file was extended by xauth $as_me 1.0.4, which was 65287366012aSmrggenerated by GNU Autoconf 2.63. Invocation command line was 65297a0395d0Smrg 65307a0395d0Smrg CONFIG_FILES = $CONFIG_FILES 65317a0395d0Smrg CONFIG_HEADERS = $CONFIG_HEADERS 65327a0395d0Smrg CONFIG_LINKS = $CONFIG_LINKS 65337a0395d0Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 65347a0395d0Smrg $ $0 $@ 65357a0395d0Smrg 65367a0395d0Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 65377a0395d0Smrg" 65387a0395d0Smrg 65397a0395d0Smrg_ACEOF 65407a0395d0Smrg 65417366012aSmrgcase $ac_config_files in *" 65427366012aSmrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 65437366012aSmrgesac 65447366012aSmrg 65457366012aSmrgcase $ac_config_headers in *" 65467366012aSmrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 65477366012aSmrgesac 65487366012aSmrg 65497366012aSmrg 65507366012aSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 65517a0395d0Smrg# Files that config.status was made for. 65527a0395d0Smrgconfig_files="$ac_config_files" 65537a0395d0Smrgconfig_headers="$ac_config_headers" 65547a0395d0Smrgconfig_commands="$ac_config_commands" 65557a0395d0Smrg 65567a0395d0Smrg_ACEOF 65577a0395d0Smrg 65587366012aSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 65597a0395d0Smrgac_cs_usage="\ 65607a0395d0Smrg\`$as_me' instantiates files from templates according to the 65617a0395d0Smrgcurrent configuration. 65627a0395d0Smrg 65637366012aSmrgUsage: $0 [OPTION]... [FILE]... 65647a0395d0Smrg 65657a0395d0Smrg -h, --help print this help, then exit 65667a0395d0Smrg -V, --version print version number and configuration settings, then exit 65677366012aSmrg -q, --quiet, --silent 65687366012aSmrg do not print progress messages 65697a0395d0Smrg -d, --debug don't remove temporary files 65707a0395d0Smrg --recheck update $as_me by reconfiguring in the same conditions 65717366012aSmrg --file=FILE[:TEMPLATE] 65727366012aSmrg instantiate the configuration file FILE 65737366012aSmrg --header=FILE[:TEMPLATE] 65747366012aSmrg instantiate the configuration header FILE 65757a0395d0Smrg 65767a0395d0SmrgConfiguration files: 65777a0395d0Smrg$config_files 65787a0395d0Smrg 65797a0395d0SmrgConfiguration headers: 65807a0395d0Smrg$config_headers 65817a0395d0Smrg 65827a0395d0SmrgConfiguration commands: 65837a0395d0Smrg$config_commands 65847a0395d0Smrg 65857a0395d0SmrgReport bugs to <bug-autoconf@gnu.org>." 65867a0395d0Smrg 65877a0395d0Smrg_ACEOF 65887366012aSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 65897a0395d0Smrgac_cs_version="\\ 65907366012aSmrgxauth config.status 1.0.4 65917366012aSmrgconfigured by $0, generated by GNU Autoconf 2.63, 65927366012aSmrg with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 65937a0395d0Smrg 65947366012aSmrgCopyright (C) 2008 Free Software Foundation, Inc. 65957a0395d0SmrgThis config.status script is free software; the Free Software Foundation 65967a0395d0Smrggives unlimited permission to copy, distribute and modify it." 65977a0395d0Smrg 65987a0395d0Smrgac_pwd='$ac_pwd' 65997a0395d0Smrgsrcdir='$srcdir' 66007a0395d0SmrgINSTALL='$INSTALL' 66017a0395d0SmrgMKDIR_P='$MKDIR_P' 66027366012aSmrgAWK='$AWK' 66037366012aSmrgtest -n "\$AWK" || AWK=awk 66047a0395d0Smrg_ACEOF 66057a0395d0Smrg 66067366012aSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 66077366012aSmrg# The default lists apply if the user does not specify any file. 66087a0395d0Smrgac_need_defaults=: 66097a0395d0Smrgwhile test $# != 0 66107a0395d0Smrgdo 66117a0395d0Smrg case $1 in 66127a0395d0Smrg --*=*) 66137a0395d0Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 66147a0395d0Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 66157a0395d0Smrg ac_shift=: 66167a0395d0Smrg ;; 66177a0395d0Smrg *) 66187a0395d0Smrg ac_option=$1 66197a0395d0Smrg ac_optarg=$2 66207a0395d0Smrg ac_shift=shift 66217a0395d0Smrg ;; 66227a0395d0Smrg esac 66237a0395d0Smrg 66247a0395d0Smrg case $ac_option in 66257a0395d0Smrg # Handling of the options. 66267a0395d0Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 66277a0395d0Smrg ac_cs_recheck=: ;; 66287a0395d0Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 66297366012aSmrg $as_echo "$ac_cs_version"; exit ;; 66307a0395d0Smrg --debug | --debu | --deb | --de | --d | -d ) 66317a0395d0Smrg debug=: ;; 66327a0395d0Smrg --file | --fil | --fi | --f ) 66337a0395d0Smrg $ac_shift 66347366012aSmrg case $ac_optarg in 66357366012aSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 66367366012aSmrg esac 66377366012aSmrg CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 66387a0395d0Smrg ac_need_defaults=false;; 66397a0395d0Smrg --header | --heade | --head | --hea ) 66407a0395d0Smrg $ac_shift 66417366012aSmrg case $ac_optarg in 66427366012aSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 66437366012aSmrg esac 66447366012aSmrg CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 66457a0395d0Smrg ac_need_defaults=false;; 66467a0395d0Smrg --he | --h) 66477a0395d0Smrg # Conflict between --help and --header 66487366012aSmrg { $as_echo "$as_me: error: ambiguous option: $1 66497a0395d0SmrgTry \`$0 --help' for more information." >&2 66507a0395d0Smrg { (exit 1); exit 1; }; };; 66517a0395d0Smrg --help | --hel | -h ) 66527366012aSmrg $as_echo "$ac_cs_usage"; exit ;; 66537a0395d0Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 66547a0395d0Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 66557a0395d0Smrg ac_cs_silent=: ;; 66567a0395d0Smrg 66577a0395d0Smrg # This is an error. 66587366012aSmrg -*) { $as_echo "$as_me: error: unrecognized option: $1 66597a0395d0SmrgTry \`$0 --help' for more information." >&2 66607a0395d0Smrg { (exit 1); exit 1; }; } ;; 66617a0395d0Smrg 66627a0395d0Smrg *) ac_config_targets="$ac_config_targets $1" 66637a0395d0Smrg ac_need_defaults=false ;; 66647a0395d0Smrg 66657a0395d0Smrg esac 66667a0395d0Smrg shift 66677a0395d0Smrgdone 66687a0395d0Smrg 66697a0395d0Smrgac_configure_extra_args= 66707a0395d0Smrg 66717a0395d0Smrgif $ac_cs_silent; then 66727a0395d0Smrg exec 6>/dev/null 66737a0395d0Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 66747a0395d0Smrgfi 66757a0395d0Smrg 66767a0395d0Smrg_ACEOF 66777366012aSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 66787a0395d0Smrgif \$ac_cs_recheck; then 66797366012aSmrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 66807366012aSmrg shift 66817366012aSmrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 66827366012aSmrg CONFIG_SHELL='$SHELL' 66837a0395d0Smrg export CONFIG_SHELL 66847366012aSmrg exec "\$@" 66857a0395d0Smrgfi 66867a0395d0Smrg 66877a0395d0Smrg_ACEOF 66887366012aSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 66897a0395d0Smrgexec 5>>config.log 66907a0395d0Smrg{ 66917a0395d0Smrg echo 66927a0395d0Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 66937a0395d0Smrg## Running $as_me. ## 66947a0395d0Smrg_ASBOX 66957366012aSmrg $as_echo "$ac_log" 66967a0395d0Smrg} >&5 66977a0395d0Smrg 66987a0395d0Smrg_ACEOF 66997366012aSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 67007a0395d0Smrg# 67017a0395d0Smrg# INIT-COMMANDS 67027a0395d0Smrg# 67037a0395d0SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 67047a0395d0Smrg 67057a0395d0Smrg_ACEOF 67067a0395d0Smrg 67077366012aSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 67087a0395d0Smrg 67097a0395d0Smrg# Handling of arguments. 67107a0395d0Smrgfor ac_config_target in $ac_config_targets 67117a0395d0Smrgdo 67127a0395d0Smrg case $ac_config_target in 67137a0395d0Smrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 67147a0395d0Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 67157a0395d0Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 67167a0395d0Smrg 67177366012aSmrg *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 67187366012aSmrg$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 67197a0395d0Smrg { (exit 1); exit 1; }; };; 67207a0395d0Smrg esac 67217a0395d0Smrgdone 67227a0395d0Smrg 67237a0395d0Smrg 67247a0395d0Smrg# If the user did not use the arguments to specify the items to instantiate, 67257a0395d0Smrg# then the envvar interface is used. Set only those that are not. 67267a0395d0Smrg# We use the long form for the default assignment because of an extremely 67277a0395d0Smrg# bizarre bug on SunOS 4.1.3. 67287a0395d0Smrgif $ac_need_defaults; then 67297a0395d0Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 67307a0395d0Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 67317a0395d0Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 67327a0395d0Smrgfi 67337a0395d0Smrg 67347a0395d0Smrg# Have a temporary directory for convenience. Make it in the build tree 67357a0395d0Smrg# simply because there is no reason against having it here, and in addition, 67367a0395d0Smrg# creating and moving files from /tmp can sometimes cause problems. 67377a0395d0Smrg# Hook for its removal unless debugging. 67387a0395d0Smrg# Note that there is a small window in which the directory will not be cleaned: 67397a0395d0Smrg# after its creation but before its name has been assigned to `$tmp'. 67407a0395d0Smrg$debug || 67417a0395d0Smrg{ 67427a0395d0Smrg tmp= 67437a0395d0Smrg trap 'exit_status=$? 67447a0395d0Smrg { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 67457a0395d0Smrg' 0 67467a0395d0Smrg trap '{ (exit 1); exit 1; }' 1 2 13 15 67477a0395d0Smrg} 67487a0395d0Smrg# Create a (secure) tmp directory for tmp files. 67497a0395d0Smrg 67507a0395d0Smrg{ 67517a0395d0Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 67527a0395d0Smrg test -n "$tmp" && test -d "$tmp" 67537a0395d0Smrg} || 67547a0395d0Smrg{ 67557a0395d0Smrg tmp=./conf$$-$RANDOM 67567a0395d0Smrg (umask 077 && mkdir "$tmp") 67577a0395d0Smrg} || 67587a0395d0Smrg{ 67597366012aSmrg $as_echo "$as_me: cannot create a temporary directory in ." >&2 67607a0395d0Smrg { (exit 1); exit 1; } 67617a0395d0Smrg} 67627a0395d0Smrg 67637366012aSmrg# Set up the scripts for CONFIG_FILES section. 67647366012aSmrg# No need to generate them if there are no CONFIG_FILES. 67657366012aSmrg# This happens for instance with `./config.status config.h'. 67667a0395d0Smrgif test -n "$CONFIG_FILES"; then 67677a0395d0Smrg 67687a0395d0Smrg 67697366012aSmrgac_cr=' 67707366012aSmrg' 67717366012aSmrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 67727366012aSmrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 67737366012aSmrg ac_cs_awk_cr='\\r' 67747366012aSmrgelse 67757a0395d0Smrg ac_cs_awk_cr=$ac_cr 67767a0395d0Smrgfi 67777366012aSmrg 67787a0395d0Smrgecho 'BEGIN {' >"$tmp/subs1.awk" && 67797a0395d0Smrg_ACEOF 67807a0395d0Smrg 67817366012aSmrg 67827366012aSmrg{ 67837366012aSmrg echo "cat >conf$$subs.awk <<_ACEOF" && 67847366012aSmrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 67857366012aSmrg echo "_ACEOF" 67867366012aSmrg} >conf$$subs.sh || 67877366012aSmrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 67887366012aSmrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 67897366012aSmrg { (exit 1); exit 1; }; } 67907a0395d0Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 67917a0395d0Smrgac_delim='%!_!# ' 67927366012aSmrgfor ac_last_try in false false false false false :; do 67937366012aSmrg . ./conf$$subs.sh || 67947366012aSmrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 67957366012aSmrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 67967a0395d0Smrg { (exit 1); exit 1; }; } 67977366012aSmrg 67987366012aSmrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 67997a0395d0Smrg if test $ac_delim_n = $ac_delim_num; then 68007a0395d0Smrg break 68017366012aSmrg elif $ac_last_try; then 68027366012aSmrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 68037a0395d0Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 68047a0395d0Smrg { (exit 1); exit 1; }; } 68057a0395d0Smrg else 68067a0395d0Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 68077a0395d0Smrg fi 68087366012aSmrgdone 68097a0395d0Smrgrm -f conf$$subs.sh 68107366012aSmrg 68117366012aSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 68127366012aSmrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK && 68137366012aSmrg_ACEOF 68147366012aSmrgsed -n ' 68157366012aSmrgh 68167366012aSmrgs/^/S["/; s/!.*/"]=/ 68177366012aSmrgp 68187366012aSmrgg 68197366012aSmrgs/^[^!]*!// 68207366012aSmrg:repl 68217366012aSmrgt repl 68227366012aSmrgs/'"$ac_delim"'$// 68237366012aSmrgt delim 68247366012aSmrg:nl 68257366012aSmrgh 68267366012aSmrgs/\(.\{148\}\).*/\1/ 68277366012aSmrgt more1 68287366012aSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 68297366012aSmrgp 68307366012aSmrgn 68317366012aSmrgb repl 68327366012aSmrg:more1 68337366012aSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 68347366012aSmrgp 68357366012aSmrgg 68367366012aSmrgs/.\{148\}// 68377366012aSmrgt nl 68387366012aSmrg:delim 68397366012aSmrgh 68407366012aSmrgs/\(.\{148\}\).*/\1/ 68417366012aSmrgt more2 68427366012aSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 68437366012aSmrgp 68447366012aSmrgb 68457366012aSmrg:more2 68467366012aSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 68477366012aSmrgp 68487366012aSmrgg 68497366012aSmrgs/.\{148\}// 68507366012aSmrgt delim 68517366012aSmrg' <conf$$subs.awk | sed ' 68527366012aSmrg/^[^""]/{ 68537366012aSmrg N 68547366012aSmrg s/\n// 68557366012aSmrg} 68567366012aSmrg' >>$CONFIG_STATUS || ac_write_fail=1 68577366012aSmrgrm -f conf$$subs.awk 68587366012aSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 68597366012aSmrg_ACAWK 68607366012aSmrgcat >>"\$tmp/subs1.awk" <<_ACAWK && 68617366012aSmrg for (key in S) S_is_set[key] = 1 68627366012aSmrg FS = "" 68637366012aSmrg 68647366012aSmrg} 68657366012aSmrg{ 68667366012aSmrg line = $ 0 68677366012aSmrg nfields = split(line, field, "@") 68687366012aSmrg substed = 0 68697366012aSmrg len = length(field[1]) 68707366012aSmrg for (i = 2; i < nfields; i++) { 68717366012aSmrg key = field[i] 68727366012aSmrg keylen = length(key) 68737366012aSmrg if (S_is_set[key]) { 68747366012aSmrg value = S[key] 68757366012aSmrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 68767366012aSmrg len += length(value) + length(field[++i]) 68777366012aSmrg substed = 1 68787366012aSmrg } else 68797366012aSmrg len += 1 + keylen 68807366012aSmrg } 68817366012aSmrg 68827366012aSmrg print line 68837a0395d0Smrg} 68847366012aSmrg 68857a0395d0Smrg_ACAWK 68867366012aSmrg_ACEOF 68877366012aSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 68887366012aSmrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 68897366012aSmrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 68907366012aSmrgelse 68917366012aSmrg cat 68927366012aSmrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 68937366012aSmrg || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 68947366012aSmrg$as_echo "$as_me: error: could not setup config files machinery" >&2;} 68957a0395d0Smrg { (exit 1); exit 1; }; } 68967a0395d0Smrg_ACEOF 68977a0395d0Smrg 68987a0395d0Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 68997a0395d0Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 69007a0395d0Smrg# trailing colons and then remove the whole line if VPATH becomes empty 69017a0395d0Smrg# (actually we leave an empty line to preserve line numbers). 69027a0395d0Smrgif test "x$srcdir" = x.; then 69037a0395d0Smrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 69047a0395d0Smrgs/:*\$(srcdir):*/:/ 69057a0395d0Smrgs/:*\${srcdir}:*/:/ 69067a0395d0Smrgs/:*@srcdir@:*/:/ 69077a0395d0Smrgs/^\([^=]*=[ ]*\):*/\1/ 69087a0395d0Smrgs/:*$// 69097a0395d0Smrgs/^[^=]*=[ ]*$// 69107a0395d0Smrg}' 69117a0395d0Smrgfi 69127366012aSmrg 69137a0395d0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 69147a0395d0Smrgfi # test -n "$CONFIG_FILES" 69157366012aSmrg 69167366012aSmrg# Set up the scripts for CONFIG_HEADERS section. 69177366012aSmrg# No need to generate them if there are no CONFIG_HEADERS. 69187366012aSmrg# This happens for instance with `./config.status Makefile'. 69197366012aSmrgif test -n "$CONFIG_HEADERS"; then 69207366012aSmrgcat >"$tmp/defines.awk" <<\_ACAWK || 69217366012aSmrgBEGIN { 69227366012aSmrg_ACEOF 69237366012aSmrg 69247366012aSmrg# Transform confdefs.h into an awk script `defines.awk', embedded as 69257366012aSmrg# here-document in config.status, that substitutes the proper values into 69267366012aSmrg# config.h.in to produce config.h. 69277366012aSmrg 69287366012aSmrg# Create a delimiter string that does not exist in confdefs.h, to ease 69297366012aSmrg# handling of long lines. 69307366012aSmrgac_delim='%!_!# ' 69317366012aSmrgfor ac_last_try in false false :; do 69327366012aSmrg ac_t=`sed -n "/$ac_delim/p" confdefs.h` 69337366012aSmrg if test -z "$ac_t"; then 69347366012aSmrg break 69357366012aSmrg elif $ac_last_try; then 69367366012aSmrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 69377366012aSmrg$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 69387366012aSmrg { (exit 1); exit 1; }; } 69397366012aSmrg else 69407366012aSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 69417366012aSmrg fi 69427366012aSmrgdone 69437366012aSmrg 69447366012aSmrg# For the awk script, D is an array of macro values keyed by name, 69457366012aSmrg# likewise P contains macro parameters if any. Preserve backslash 69467366012aSmrg# newline sequences. 69477366012aSmrg 69487366012aSmrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 69497366012aSmrgsed -n ' 69507366012aSmrgs/.\{148\}/&'"$ac_delim"'/g 69517366012aSmrgt rset 69527366012aSmrg:rset 69537366012aSmrgs/^[ ]*#[ ]*define[ ][ ]*/ / 69547366012aSmrgt def 69557366012aSmrgd 69567366012aSmrg:def 69577366012aSmrgs/\\$// 69587366012aSmrgt bsnl 69597366012aSmrgs/["\\]/\\&/g 69607366012aSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 69617366012aSmrgD["\1"]=" \3"/p 69627366012aSmrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 69637366012aSmrgd 69647366012aSmrg:bsnl 69657366012aSmrgs/["\\]/\\&/g 69667366012aSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 69677366012aSmrgD["\1"]=" \3\\\\\\n"\\/p 69687366012aSmrgt cont 69697366012aSmrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 69707366012aSmrgt cont 69717366012aSmrgd 69727366012aSmrg:cont 69737366012aSmrgn 69747366012aSmrgs/.\{148\}/&'"$ac_delim"'/g 69757366012aSmrgt clear 69767366012aSmrg:clear 69777366012aSmrgs/\\$// 69787366012aSmrgt bsnlc 69797366012aSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 69807366012aSmrgd 69817366012aSmrg:bsnlc 69827366012aSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 69837366012aSmrgb cont 69847366012aSmrg' <confdefs.h | sed ' 69857366012aSmrgs/'"$ac_delim"'/"\\\ 69867366012aSmrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 69877366012aSmrg 69887366012aSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 69897366012aSmrg for (key in D) D_is_set[key] = 1 69907366012aSmrg FS = "" 69917366012aSmrg} 69927366012aSmrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 69937366012aSmrg line = \$ 0 69947366012aSmrg split(line, arg, " ") 69957366012aSmrg if (arg[1] == "#") { 69967366012aSmrg defundef = arg[2] 69977366012aSmrg mac1 = arg[3] 69987366012aSmrg } else { 69997366012aSmrg defundef = substr(arg[1], 2) 70007366012aSmrg mac1 = arg[2] 70017366012aSmrg } 70027366012aSmrg split(mac1, mac2, "(") #) 70037366012aSmrg macro = mac2[1] 70047366012aSmrg prefix = substr(line, 1, index(line, defundef) - 1) 70057366012aSmrg if (D_is_set[macro]) { 70067366012aSmrg # Preserve the white space surrounding the "#". 70077366012aSmrg print prefix "define", macro P[macro] D[macro] 70087366012aSmrg next 70097366012aSmrg } else { 70107366012aSmrg # Replace #undef with comments. This is necessary, for example, 70117366012aSmrg # in the case of _POSIX_SOURCE, which is predefined and required 70127366012aSmrg # on some systems where configure will not decide to define it. 70137366012aSmrg if (defundef == "undef") { 70147366012aSmrg print "/*", prefix defundef, macro, "*/" 70157366012aSmrg next 70167366012aSmrg } 70177366012aSmrg } 70187366012aSmrg} 70197366012aSmrg{ print } 70207366012aSmrg_ACAWK 70217366012aSmrg_ACEOF 70227366012aSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 70237366012aSmrg { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 70247366012aSmrg$as_echo "$as_me: error: could not setup config headers machinery" >&2;} 70257366012aSmrg { (exit 1); exit 1; }; } 70267366012aSmrgfi # test -n "$CONFIG_HEADERS" 70277a0395d0Smrg 70287366012aSmrg 70297366012aSmrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 70307366012aSmrgshift 70317a0395d0Smrgfor ac_tag 70327a0395d0Smrgdo 70337a0395d0Smrg case $ac_tag in 70347a0395d0Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 70357a0395d0Smrg esac 70367a0395d0Smrg case $ac_mode$ac_tag in 70377366012aSmrg :[FHL]*:*);; 70387366012aSmrg :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 70397a0395d0Smrg$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 70407a0395d0Smrg { (exit 1); exit 1; }; };; 70417a0395d0Smrg :[FH]-) ac_tag=-:-;; 70427a0395d0Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 70437a0395d0Smrg esac 70447a0395d0Smrg ac_save_IFS=$IFS 70457a0395d0Smrg IFS=: 70467a0395d0Smrg set x $ac_tag 70477a0395d0Smrg IFS=$ac_save_IFS 70487a0395d0Smrg shift 70497a0395d0Smrg ac_file=$1 70507a0395d0Smrg shift 70517a0395d0Smrg 70527a0395d0Smrg case $ac_mode in 70537a0395d0Smrg :L) ac_source=$1;; 70547a0395d0Smrg :[FH]) 70557a0395d0Smrg ac_file_inputs= 70567a0395d0Smrg for ac_f 70577a0395d0Smrg do 70587a0395d0Smrg case $ac_f in 70597a0395d0Smrg -) ac_f="$tmp/stdin";; 70607a0395d0Smrg *) # Look for the file first in the build tree, then in the source tree 70617a0395d0Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 70627a0395d0Smrg # because $ac_f cannot contain `:'. 70637a0395d0Smrg test -f "$ac_f" || 70647a0395d0Smrg case $ac_f in 70657a0395d0Smrg [\\/$]*) false;; 70667a0395d0Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 70677366012aSmrg esac || 70687366012aSmrg { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 70697a0395d0Smrg$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 70707a0395d0Smrg { (exit 1); exit 1; }; };; 70717366012aSmrg esac 70727366012aSmrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 70737a0395d0Smrg ac_file_inputs="$ac_file_inputs '$ac_f'" 70747a0395d0Smrg done 70757a0395d0Smrg 70767a0395d0Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 70777a0395d0Smrg # use $as_me), people would be surprised to read: 70787366012aSmrg # /* config.h. Generated by config.status. */ 70797366012aSmrg configure_input='Generated from '` 70807366012aSmrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 70817a0395d0Smrg `' by configure.' 70827a0395d0Smrg if test x"$ac_file" != x-; then 70837366012aSmrg configure_input="$ac_file. $configure_input" 70847366012aSmrg { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 70857a0395d0Smrg$as_echo "$as_me: creating $ac_file" >&6;} 70867366012aSmrg fi 70877366012aSmrg # Neutralize special characters interpreted by sed in replacement strings. 70887366012aSmrg case $configure_input in #( 70897366012aSmrg *\&* | *\|* | *\\* ) 70907366012aSmrg ac_sed_conf_input=`$as_echo "$configure_input" | 70917366012aSmrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 70927366012aSmrg *) ac_sed_conf_input=$configure_input;; 70937a0395d0Smrg esac 70947a0395d0Smrg 70957366012aSmrg case $ac_tag in 70967366012aSmrg *:-:* | *:-) cat >"$tmp/stdin" \ 70977366012aSmrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 70987366012aSmrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 70997a0395d0Smrg { (exit 1); exit 1; }; } ;; 71007a0395d0Smrg esac 71017a0395d0Smrg ;; 71027a0395d0Smrg esac 71037a0395d0Smrg 71047a0395d0Smrg ac_dir=`$as_dirname -- "$ac_file" || 71057a0395d0Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 71067a0395d0Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 71077a0395d0Smrg X"$ac_file" : 'X\(//\)$' \| \ 71087366012aSmrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 71097a0395d0Smrg$as_echo X"$ac_file" | 71107a0395d0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 71117a0395d0Smrg s//\1/ 71127a0395d0Smrg q 71137a0395d0Smrg } 71147a0395d0Smrg /^X\(\/\/\)[^/].*/{ 71157a0395d0Smrg s//\1/ 71167a0395d0Smrg q 71177a0395d0Smrg } 71187a0395d0Smrg /^X\(\/\/\)$/{ 71197a0395d0Smrg s//\1/ 71207a0395d0Smrg q 71217a0395d0Smrg } 71227a0395d0Smrg /^X\(\/\).*/{ 71237a0395d0Smrg s//\1/ 71247a0395d0Smrg q 71257a0395d0Smrg } 71267a0395d0Smrg s/.*/./; q'` 71277a0395d0Smrg { as_dir="$ac_dir" 71287a0395d0Smrg case $as_dir in #( 71297a0395d0Smrg -*) as_dir=./$as_dir;; 71307a0395d0Smrg esac 71317a0395d0Smrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 71327a0395d0Smrg as_dirs= 71337a0395d0Smrg while :; do 71347366012aSmrg case $as_dir in #( 71357a0395d0Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 71367a0395d0Smrg *) as_qdir=$as_dir;; 71377a0395d0Smrg esac 71387a0395d0Smrg as_dirs="'$as_qdir' $as_dirs" 71397a0395d0Smrg as_dir=`$as_dirname -- "$as_dir" || 71407a0395d0Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 71417a0395d0Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 71427a0395d0Smrg X"$as_dir" : 'X\(//\)$' \| \ 71437366012aSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 71447a0395d0Smrg$as_echo X"$as_dir" | 71457a0395d0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 71467a0395d0Smrg s//\1/ 71477a0395d0Smrg q 71487a0395d0Smrg } 71497a0395d0Smrg /^X\(\/\/\)[^/].*/{ 71507a0395d0Smrg s//\1/ 71517a0395d0Smrg q 71527a0395d0Smrg } 71537a0395d0Smrg /^X\(\/\/\)$/{ 71547a0395d0Smrg s//\1/ 71557a0395d0Smrg q 71567a0395d0Smrg } 71577a0395d0Smrg /^X\(\/\).*/{ 71587a0395d0Smrg s//\1/ 71597a0395d0Smrg q 71607a0395d0Smrg } 71617a0395d0Smrg s/.*/./; q'` 71627a0395d0Smrg test -d "$as_dir" && break 71637a0395d0Smrg done 71647366012aSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 71657366012aSmrg } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 71667a0395d0Smrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 71677a0395d0Smrg { (exit 1); exit 1; }; }; } 71687a0395d0Smrg ac_builddir=. 71697a0395d0Smrg 71707a0395d0Smrgcase "$ac_dir" in 71717a0395d0Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 71727366012aSmrg*) 71737a0395d0Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 71747366012aSmrg # A ".." for each directory in $ac_dir_suffix. 71757a0395d0Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 71767a0395d0Smrg case $ac_top_builddir_sub in 71777a0395d0Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 71787a0395d0Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 71797a0395d0Smrg esac ;; 71807a0395d0Smrgesac 71817a0395d0Smrgac_abs_top_builddir=$ac_pwd 71827a0395d0Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 71837a0395d0Smrg# for backward compatibility: 71847a0395d0Smrgac_top_builddir=$ac_top_build_prefix 71857a0395d0Smrg 71867a0395d0Smrgcase $srcdir in 71877a0395d0Smrg .) # We are building in place. 71887a0395d0Smrg ac_srcdir=. 71897a0395d0Smrg ac_top_srcdir=$ac_top_builddir_sub 71907a0395d0Smrg ac_abs_top_srcdir=$ac_pwd ;; 71917a0395d0Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 71927a0395d0Smrg ac_srcdir=$srcdir$ac_dir_suffix; 71937a0395d0Smrg ac_top_srcdir=$srcdir 71947a0395d0Smrg ac_abs_top_srcdir=$srcdir ;; 71957a0395d0Smrg *) # Relative name. 71967a0395d0Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 71977a0395d0Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 71987a0395d0Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 71997a0395d0Smrgesac 72007a0395d0Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 72017a0395d0Smrg 72027a0395d0Smrg 72037a0395d0Smrg case $ac_mode in 72047a0395d0Smrg :F) 72057a0395d0Smrg # 72067a0395d0Smrg # CONFIG_FILE 72077a0395d0Smrg # 72087a0395d0Smrg 72097a0395d0Smrg case $INSTALL in 72107a0395d0Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 72117a0395d0Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 72127a0395d0Smrg esac 72137a0395d0Smrg ac_MKDIR_P=$MKDIR_P 72147a0395d0Smrg case $MKDIR_P in 72157a0395d0Smrg [\\/$]* | ?:[\\/]* ) ;; 72167a0395d0Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 72177a0395d0Smrg esac 72187a0395d0Smrg_ACEOF 72197366012aSmrg 72207a0395d0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 72217a0395d0Smrg# If the template does not know about datarootdir, expand it. 72227a0395d0Smrg# FIXME: This hack should be removed a few years after 2.60. 72237a0395d0Smrgac_datarootdir_hack=; ac_datarootdir_seen= 72247366012aSmrg 72257366012aSmrgac_sed_dataroot=' 72267a0395d0Smrg/datarootdir/ { 72277a0395d0Smrg p 72287a0395d0Smrg q 72297a0395d0Smrg} 72307a0395d0Smrg/@datadir@/p 72317a0395d0Smrg/@docdir@/p 72327a0395d0Smrg/@infodir@/p 72337a0395d0Smrg/@localedir@/p 72347366012aSmrg/@mandir@/p 72357366012aSmrg' 72367a0395d0Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 72377a0395d0Smrg*datarootdir*) ac_datarootdir_seen=yes;; 72387366012aSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 72397366012aSmrg { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 72407a0395d0Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 72417366012aSmrg_ACEOF 72427a0395d0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 72437a0395d0Smrg ac_datarootdir_hack=' 72447a0395d0Smrg s&@datadir@&$datadir&g 72457a0395d0Smrg s&@docdir@&$docdir&g 72467a0395d0Smrg s&@infodir@&$infodir&g 72477a0395d0Smrg s&@localedir@&$localedir&g 72487a0395d0Smrg s&@mandir@&$mandir&g 72497a0395d0Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 72507a0395d0Smrgesac 72517a0395d0Smrg_ACEOF 72527a0395d0Smrg 72537a0395d0Smrg# Neutralize VPATH when `$srcdir' = `.'. 72547a0395d0Smrg# Shell code in configure.ac might set extrasub. 72557366012aSmrg# FIXME: do we really want to maintain this feature? 72567366012aSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 72577a0395d0Smrgac_sed_extra="$ac_vpsub 72587a0395d0Smrg$extrasub 72597366012aSmrg_ACEOF 72607a0395d0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 72617a0395d0Smrg:t 72627366012aSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 72637a0395d0Smrgs|@configure_input@|$ac_sed_conf_input|;t t 72647366012aSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t 72657a0395d0Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 72667a0395d0Smrgs&@srcdir@&$ac_srcdir&;t t 72677a0395d0Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 72687a0395d0Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 72697a0395d0Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 72707a0395d0Smrgs&@builddir@&$ac_builddir&;t t 72717a0395d0Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 72727a0395d0Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 72737a0395d0Smrgs&@INSTALL@&$ac_INSTALL&;t t 72747a0395d0Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 72757366012aSmrg$ac_datarootdir_hack 72767366012aSmrg" 72777366012aSmrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 72787366012aSmrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 72797366012aSmrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 72807a0395d0Smrg { (exit 1); exit 1; }; } 72817a0395d0Smrg 72827a0395d0Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 72837a0395d0Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 72847366012aSmrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 72857a0395d0Smrg { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 72867366012aSmrgwhich seems to be undefined. Please make sure it is defined." >&5 72877a0395d0Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 72887a0395d0Smrgwhich seems to be undefined. Please make sure it is defined." >&2;} 72897a0395d0Smrg 72907a0395d0Smrg rm -f "$tmp/stdin" 72917366012aSmrg case $ac_file in 72927366012aSmrg -) cat "$tmp/out" && rm -f "$tmp/out";; 72937366012aSmrg *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 72947366012aSmrg esac \ 72957366012aSmrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 72967366012aSmrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 72977a0395d0Smrg { (exit 1); exit 1; }; } 72987a0395d0Smrg ;; 72997a0395d0Smrg :H) 73007a0395d0Smrg # 73017a0395d0Smrg # CONFIG_HEADER 73027a0395d0Smrg # 73037366012aSmrg if test x"$ac_file" != x-; then 73047366012aSmrg { 73057366012aSmrg $as_echo "/* $configure_input */" \ 73067366012aSmrg && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 73077366012aSmrg } >"$tmp/config.h" \ 73087366012aSmrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 73097366012aSmrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 73107366012aSmrg { (exit 1); exit 1; }; } 73117366012aSmrg if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 73127366012aSmrg { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 73137a0395d0Smrg$as_echo "$as_me: $ac_file is unchanged" >&6;} 73147366012aSmrg else 73157366012aSmrg rm -f "$ac_file" 73167366012aSmrg mv "$tmp/config.h" "$ac_file" \ 73177366012aSmrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 73187366012aSmrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 73197a0395d0Smrg { (exit 1); exit 1; }; } 73207a0395d0Smrg fi 73217366012aSmrg else 73227366012aSmrg $as_echo "/* $configure_input */" \ 73237366012aSmrg && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 73247366012aSmrg || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 73257366012aSmrg$as_echo "$as_me: error: could not create -" >&2;} 73267a0395d0Smrg { (exit 1); exit 1; }; } 73277366012aSmrg fi 73287366012aSmrg# Compute "$ac_file"'s index in $config_headers. 73297a0395d0Smrg_am_arg="$ac_file" 73307a0395d0Smrg_am_stamp_count=1 73317a0395d0Smrgfor _am_header in $config_headers :; do 73327a0395d0Smrg case $_am_header in 73337a0395d0Smrg $_am_arg | $_am_arg:* ) 73347a0395d0Smrg break ;; 73357a0395d0Smrg * ) 73367a0395d0Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 73377a0395d0Smrg esac 73387a0395d0Smrgdone 73397a0395d0Smrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 73407a0395d0Smrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 73417a0395d0Smrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 73427a0395d0Smrg X"$_am_arg" : 'X\(//\)$' \| \ 73437366012aSmrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 73447a0395d0Smrg$as_echo X"$_am_arg" | 73457a0395d0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 73467a0395d0Smrg s//\1/ 73477a0395d0Smrg q 73487a0395d0Smrg } 73497a0395d0Smrg /^X\(\/\/\)[^/].*/{ 73507a0395d0Smrg s//\1/ 73517a0395d0Smrg q 73527a0395d0Smrg } 73537a0395d0Smrg /^X\(\/\/\)$/{ 73547a0395d0Smrg s//\1/ 73557a0395d0Smrg q 73567a0395d0Smrg } 73577a0395d0Smrg /^X\(\/\).*/{ 73587a0395d0Smrg s//\1/ 73597a0395d0Smrg q 73607a0395d0Smrg } 73617a0395d0Smrg s/.*/./; q'`/stamp-h$_am_stamp_count 73627a0395d0Smrg ;; 73637366012aSmrg 73647366012aSmrg :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 73657a0395d0Smrg$as_echo "$as_me: executing $ac_file commands" >&6;} 73667a0395d0Smrg ;; 73677a0395d0Smrg esac 73687a0395d0Smrg 73697a0395d0Smrg 73707366012aSmrg case $ac_file$ac_mode in 73717366012aSmrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 73727366012aSmrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 73737366012aSmrg # are listed without --file. Let's play safe and only enable the eval 73747366012aSmrg # if we detect the quoting. 73757366012aSmrg case $CONFIG_FILES in 73767366012aSmrg *\'*) eval set x "$CONFIG_FILES" ;; 73777366012aSmrg *) set x $CONFIG_FILES ;; 73787366012aSmrg esac 73797366012aSmrg shift 73807366012aSmrg for mf 73817366012aSmrg do 73827366012aSmrg # Strip MF so we end up with the name of the file. 73837366012aSmrg mf=`echo "$mf" | sed -e 's/:.*$//'` 73847366012aSmrg # Check whether this is an Automake generated Makefile or not. 73857366012aSmrg # We used to match only the files named `Makefile.in', but 73867366012aSmrg # some people rename them; so instead we look at the file content. 73877366012aSmrg # Grep'ing the first line is not enough: some people post-process 73887366012aSmrg # each Makefile.in and add a new line on top of each file to say so. 73897366012aSmrg # Grep'ing the whole file is not good either: AIX grep has a line 73907366012aSmrg # limit of 2048, but all sed's we know have understand at least 4000. 73917366012aSmrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 73927a0395d0Smrg dirpart=`$as_dirname -- "$mf" || 73937a0395d0Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 73947a0395d0Smrg X"$mf" : 'X\(//\)[^/]' \| \ 73957a0395d0Smrg X"$mf" : 'X\(//\)$' \| \ 73967366012aSmrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 73977a0395d0Smrg$as_echo X"$mf" | 73987a0395d0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 73997a0395d0Smrg s//\1/ 74007a0395d0Smrg q 74017a0395d0Smrg } 74027a0395d0Smrg /^X\(\/\/\)[^/].*/{ 74037a0395d0Smrg s//\1/ 74047a0395d0Smrg q 74057a0395d0Smrg } 74067a0395d0Smrg /^X\(\/\/\)$/{ 74077a0395d0Smrg s//\1/ 74087a0395d0Smrg q 74097a0395d0Smrg } 74107a0395d0Smrg /^X\(\/\).*/{ 74117a0395d0Smrg s//\1/ 74127a0395d0Smrg q 74137a0395d0Smrg } 74147366012aSmrg s/.*/./; q'` 74157366012aSmrg else 74167366012aSmrg continue 74177366012aSmrg fi 74187366012aSmrg # Extract the definition of DEPDIR, am__include, and am__quote 74197366012aSmrg # from the Makefile without running `make'. 74207366012aSmrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 74217366012aSmrg test -z "$DEPDIR" && continue 74227366012aSmrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 74237366012aSmrg test -z "am__include" && continue 74247366012aSmrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 74257366012aSmrg # When using ansi2knr, U may be empty or an underscore; expand it 74267366012aSmrg U=`sed -n 's/^U = //p' < "$mf"` 74277366012aSmrg # Find all dependency output files, they are included files with 74287366012aSmrg # $(DEPDIR) in their names. We invoke sed twice because it is the 74297366012aSmrg # simplest approach to changing $(DEPDIR) to its actual value in the 74307366012aSmrg # expansion. 74317366012aSmrg for file in `sed -n " 74327366012aSmrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 74337366012aSmrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 74347366012aSmrg # Make sure the directory exists. 74357366012aSmrg test -f "$dirpart/$file" && continue 74367a0395d0Smrg fdir=`$as_dirname -- "$file" || 74377a0395d0Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 74387a0395d0Smrg X"$file" : 'X\(//\)[^/]' \| \ 74397a0395d0Smrg X"$file" : 'X\(//\)$' \| \ 74407366012aSmrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 74417a0395d0Smrg$as_echo X"$file" | 74427a0395d0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 74437a0395d0Smrg s//\1/ 74447a0395d0Smrg q 74457a0395d0Smrg } 74467a0395d0Smrg /^X\(\/\/\)[^/].*/{ 74477a0395d0Smrg s//\1/ 74487a0395d0Smrg q 74497a0395d0Smrg } 74507a0395d0Smrg /^X\(\/\/\)$/{ 74517a0395d0Smrg s//\1/ 74527a0395d0Smrg q 74537a0395d0Smrg } 74547a0395d0Smrg /^X\(\/\).*/{ 74557a0395d0Smrg s//\1/ 74567a0395d0Smrg q 74577a0395d0Smrg } 74587366012aSmrg s/.*/./; q'` 74597a0395d0Smrg { as_dir=$dirpart/$fdir 74607a0395d0Smrg case $as_dir in #( 74617a0395d0Smrg -*) as_dir=./$as_dir;; 74627a0395d0Smrg esac 74637a0395d0Smrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 74647a0395d0Smrg as_dirs= 74657a0395d0Smrg while :; do 74667366012aSmrg case $as_dir in #( 74677a0395d0Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 74687a0395d0Smrg *) as_qdir=$as_dir;; 74697a0395d0Smrg esac 74707a0395d0Smrg as_dirs="'$as_qdir' $as_dirs" 74717a0395d0Smrg as_dir=`$as_dirname -- "$as_dir" || 74727a0395d0Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 74737a0395d0Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 74747a0395d0Smrg X"$as_dir" : 'X\(//\)$' \| \ 74757366012aSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 74767a0395d0Smrg$as_echo X"$as_dir" | 74777a0395d0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 74787a0395d0Smrg s//\1/ 74797a0395d0Smrg q 74807a0395d0Smrg } 74817a0395d0Smrg /^X\(\/\/\)[^/].*/{ 74827a0395d0Smrg s//\1/ 74837a0395d0Smrg q 74847a0395d0Smrg } 74857a0395d0Smrg /^X\(\/\/\)$/{ 74867a0395d0Smrg s//\1/ 74877a0395d0Smrg q 74887a0395d0Smrg } 74897a0395d0Smrg /^X\(\/\).*/{ 74907a0395d0Smrg s//\1/ 74917a0395d0Smrg q 74927a0395d0Smrg } 74937a0395d0Smrg s/.*/./; q'` 74947a0395d0Smrg test -d "$as_dir" && break 74957a0395d0Smrg done 74967366012aSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 74977366012aSmrg } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 74987a0395d0Smrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 74997366012aSmrg { (exit 1); exit 1; }; }; } 75007366012aSmrg # echo "creating $dirpart/$file" 75017366012aSmrg echo '# dummy' > "$dirpart/$file" 75027a0395d0Smrg done 75037366012aSmrg done 75047a0395d0Smrg} 75057a0395d0Smrg ;; 75067a0395d0Smrg 75077a0395d0Smrg esac 75087a0395d0Smrgdone # for ac_tag 75097a0395d0Smrg 75107a0395d0Smrg 75117a0395d0Smrg{ (exit 0); exit 0; } 75127a0395d0Smrg_ACEOF 75137a0395d0Smrgchmod +x $CONFIG_STATUS 75147a0395d0Smrgac_clean_files=$ac_clean_files_save 75157366012aSmrg 75167366012aSmrgtest $ac_write_fail = 0 || 75177366012aSmrg { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 75187366012aSmrg$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 75197366012aSmrg { (exit 1); exit 1; }; } 75207a0395d0Smrg 75217a0395d0Smrg 75227a0395d0Smrg# configure is writing to config.log, and then calls config.status. 75237a0395d0Smrg# config.status does its own redirection, appending to config.log. 75247a0395d0Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 75257a0395d0Smrg# by configure, so config.status won't be able to write to it; its 75267a0395d0Smrg# output is simply discarded. So we exec the FD to /dev/null, 75277a0395d0Smrg# effectively closing config.log, so it can be properly (re)opened and 75287a0395d0Smrg# appended to by config.status. When coming back to configure, we 75297a0395d0Smrg# need to make the FD available again. 75307a0395d0Smrgif test "$no_create" != yes; then 75317a0395d0Smrg ac_cs_success=: 75327a0395d0Smrg ac_config_status_args= 75337a0395d0Smrg test "$silent" = yes && 75347a0395d0Smrg ac_config_status_args="$ac_config_status_args --quiet" 75357a0395d0Smrg exec 5>/dev/null 75367a0395d0Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 75377a0395d0Smrg exec 5>>config.log 75387a0395d0Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 75397a0395d0Smrg # would make configure fail if this is the last instruction. 75407a0395d0Smrg $ac_cs_success || { (exit 1); exit 1; } 75417366012aSmrgfi 75427366012aSmrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 75437366012aSmrg { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 75447366012aSmrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 75457a0395d0Smrgfi 7546 7547