configure revision 70f7c90c
1a850946eSmrg#! /bin/sh 2a850946eSmrg# Guess values for system-dependent variables and create Makefiles. 370f7c90cSmrg# Generated by GNU Autoconf 2.63 for xlsclients 1.0.2. 4a850946eSmrg# 5a850946eSmrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6a850946eSmrg# 770f7c90cSmrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 870f7c90cSmrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 9a850946eSmrg# This configure script is free software; the Free Software Foundation 10a850946eSmrg# gives unlimited permission to copy, distribute and modify it. 11a850946eSmrg## --------------------- ## 12a850946eSmrg## M4sh Initialization. ## 13a850946eSmrg## --------------------- ## 14a850946eSmrg 1570f7c90cSmrg# Be more Bourne compatible 1670f7c90cSmrgDUALCASE=1; export DUALCASE # for MKS sh 17a850946eSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 18a850946eSmrg emulate sh 19a850946eSmrg NULLCMD=: 2070f7c90cSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21a850946eSmrg # is contrary to our usage. Disable this feature. 22a850946eSmrg alias -g '${1+"$@"}'='"$@"' 2370f7c90cSmrg setopt NO_GLOB_SUBST 2470f7c90cSmrgelse 2570f7c90cSmrg case `(set -o) 2>/dev/null` in 2670f7c90cSmrg *posix*) set -o posix ;; 2770f7c90cSmrgesac 2870f7c90cSmrg 2970f7c90cSmrgfi 3070f7c90cSmrg 3170f7c90cSmrg 3270f7c90cSmrg 3370f7c90cSmrg 3470f7c90cSmrg# PATH needs CR 3570f7c90cSmrg# Avoid depending upon Character Ranges. 3670f7c90cSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 3770f7c90cSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3870f7c90cSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 3970f7c90cSmrgas_cr_digits='0123456789' 4070f7c90cSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 4170f7c90cSmrg 4270f7c90cSmrgas_nl=' 4370f7c90cSmrg' 4470f7c90cSmrgexport as_nl 4570f7c90cSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 4670f7c90cSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4770f7c90cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4870f7c90cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4970f7c90cSmrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5070f7c90cSmrg as_echo='printf %s\n' 5170f7c90cSmrg as_echo_n='printf %s' 5270f7c90cSmrgelse 5370f7c90cSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5470f7c90cSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5570f7c90cSmrg as_echo_n='/usr/ucb/echo -n' 5670f7c90cSmrg else 5770f7c90cSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 5870f7c90cSmrg as_echo_n_body='eval 5970f7c90cSmrg arg=$1; 6070f7c90cSmrg case $arg in 6170f7c90cSmrg *"$as_nl"*) 6270f7c90cSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 6370f7c90cSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6470f7c90cSmrg esac; 6570f7c90cSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6670f7c90cSmrg ' 6770f7c90cSmrg export as_echo_n_body 6870f7c90cSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 6970f7c90cSmrg fi 7070f7c90cSmrg export as_echo_body 7170f7c90cSmrg as_echo='sh -c $as_echo_body as_echo' 7270f7c90cSmrgfi 7370f7c90cSmrg 7470f7c90cSmrg# The user is always right. 7570f7c90cSmrgif test "${PATH_SEPARATOR+set}" != set; then 7670f7c90cSmrg PATH_SEPARATOR=: 7770f7c90cSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 7870f7c90cSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 7970f7c90cSmrg PATH_SEPARATOR=';' 8070f7c90cSmrg } 81a850946eSmrgfi 82a850946eSmrg 83a850946eSmrg# Support unset when possible. 84a850946eSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 85a850946eSmrg as_unset=unset 86a850946eSmrgelse 87a850946eSmrg as_unset=false 88a850946eSmrgfi 89a850946eSmrg 90a850946eSmrg 9170f7c90cSmrg# IFS 9270f7c90cSmrg# We need space, tab and new line, in precisely that order. Quoting is 9370f7c90cSmrg# there to prevent editors from complaining about space-tab. 9470f7c90cSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 9570f7c90cSmrg# splitting by setting IFS to empty value.) 9670f7c90cSmrgIFS=" "" $as_nl" 9770f7c90cSmrg 9870f7c90cSmrg# Find who we are. Look in the path if we contain no directory separator. 9970f7c90cSmrgcase $0 in 10070f7c90cSmrg *[\\/]* ) as_myself=$0 ;; 10170f7c90cSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10270f7c90cSmrgfor as_dir in $PATH 10370f7c90cSmrgdo 10470f7c90cSmrg IFS=$as_save_IFS 10570f7c90cSmrg test -z "$as_dir" && as_dir=. 10670f7c90cSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 10770f7c90cSmrgdone 10870f7c90cSmrgIFS=$as_save_IFS 10970f7c90cSmrg 11070f7c90cSmrg ;; 11170f7c90cSmrgesac 11270f7c90cSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 11370f7c90cSmrg# in which case we are not to be found in the path. 11470f7c90cSmrgif test "x$as_myself" = x; then 11570f7c90cSmrg as_myself=$0 11670f7c90cSmrgfi 11770f7c90cSmrgif test ! -f "$as_myself"; then 11870f7c90cSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11970f7c90cSmrg { (exit 1); exit 1; } 12070f7c90cSmrgfi 12170f7c90cSmrg 122a850946eSmrg# Work around bugs in pre-3.0 UWIN ksh. 12370f7c90cSmrgfor as_var in ENV MAIL MAILPATH 12470f7c90cSmrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 12570f7c90cSmrgdone 126a850946eSmrgPS1='$ ' 127a850946eSmrgPS2='> ' 128a850946eSmrgPS4='+ ' 129a850946eSmrg 130a850946eSmrg# NLS nuisances. 13170f7c90cSmrgLC_ALL=C 13270f7c90cSmrgexport LC_ALL 13370f7c90cSmrgLANGUAGE=C 13470f7c90cSmrgexport LANGUAGE 135a850946eSmrg 136a850946eSmrg# Required to use basename. 13770f7c90cSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 13870f7c90cSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 139a850946eSmrg as_expr=expr 140a850946eSmrgelse 141a850946eSmrg as_expr=false 142a850946eSmrgfi 143a850946eSmrg 14470f7c90cSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 145a850946eSmrg as_basename=basename 146a850946eSmrgelse 147a850946eSmrg as_basename=false 148a850946eSmrgfi 149a850946eSmrg 150a850946eSmrg 151a850946eSmrg# Name of the executable. 15270f7c90cSmrgas_me=`$as_basename -- "$0" || 153a850946eSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 154a850946eSmrg X"$0" : 'X\(//\)$' \| \ 15570f7c90cSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 15670f7c90cSmrg$as_echo X/"$0" | 15770f7c90cSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 15870f7c90cSmrg s//\1/ 15970f7c90cSmrg q 16070f7c90cSmrg } 16170f7c90cSmrg /^X\/\(\/\/\)$/{ 16270f7c90cSmrg s//\1/ 16370f7c90cSmrg q 16470f7c90cSmrg } 16570f7c90cSmrg /^X\/\(\/\).*/{ 16670f7c90cSmrg s//\1/ 16770f7c90cSmrg q 16870f7c90cSmrg } 16970f7c90cSmrg s/.*/./; q'` 170a850946eSmrg 17170f7c90cSmrg# CDPATH. 17270f7c90cSmrg$as_unset CDPATH 173a850946eSmrg 174a850946eSmrg 17570f7c90cSmrgif test "x$CONFIG_SHELL" = x; then 17670f7c90cSmrg if (eval ":") 2>/dev/null; then 17770f7c90cSmrg as_have_required=yes 17870f7c90cSmrgelse 17970f7c90cSmrg as_have_required=no 180a850946eSmrgfi 181a850946eSmrg 18270f7c90cSmrg if test $as_have_required = yes && (eval ": 18370f7c90cSmrg(as_func_return () { 18470f7c90cSmrg (exit \$1) 18570f7c90cSmrg} 18670f7c90cSmrgas_func_success () { 18770f7c90cSmrg as_func_return 0 18870f7c90cSmrg} 18970f7c90cSmrgas_func_failure () { 19070f7c90cSmrg as_func_return 1 19170f7c90cSmrg} 19270f7c90cSmrgas_func_ret_success () { 19370f7c90cSmrg return 0 19470f7c90cSmrg} 19570f7c90cSmrgas_func_ret_failure () { 19670f7c90cSmrg return 1 19770f7c90cSmrg} 198a850946eSmrg 19970f7c90cSmrgexitcode=0 20070f7c90cSmrgif as_func_success; then 20170f7c90cSmrg : 20270f7c90cSmrgelse 20370f7c90cSmrg exitcode=1 20470f7c90cSmrg echo as_func_success failed. 20570f7c90cSmrgfi 206a850946eSmrg 20770f7c90cSmrgif as_func_failure; then 20870f7c90cSmrg exitcode=1 20970f7c90cSmrg echo as_func_failure succeeded. 21070f7c90cSmrgfi 21170f7c90cSmrg 21270f7c90cSmrgif as_func_ret_success; then 21370f7c90cSmrg : 21470f7c90cSmrgelse 21570f7c90cSmrg exitcode=1 21670f7c90cSmrg echo as_func_ret_success failed. 21770f7c90cSmrgfi 21870f7c90cSmrg 21970f7c90cSmrgif as_func_ret_failure; then 22070f7c90cSmrg exitcode=1 22170f7c90cSmrg echo as_func_ret_failure succeeded. 22270f7c90cSmrgfi 22370f7c90cSmrg 22470f7c90cSmrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 22570f7c90cSmrg : 22670f7c90cSmrgelse 22770f7c90cSmrg exitcode=1 22870f7c90cSmrg echo positional parameters were not saved. 22970f7c90cSmrgfi 23070f7c90cSmrg 23170f7c90cSmrgtest \$exitcode = 0) || { (exit 1); exit 1; } 23270f7c90cSmrg 23370f7c90cSmrg( 23470f7c90cSmrg as_lineno_1=\$LINENO 23570f7c90cSmrg as_lineno_2=\$LINENO 23670f7c90cSmrg test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 23770f7c90cSmrg test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 23870f7c90cSmrg") 2> /dev/null; then 23970f7c90cSmrg : 24070f7c90cSmrgelse 24170f7c90cSmrg as_candidate_shells= 242a850946eSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 243a850946eSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 244a850946eSmrgdo 245a850946eSmrg IFS=$as_save_IFS 246a850946eSmrg test -z "$as_dir" && as_dir=. 24770f7c90cSmrg case $as_dir in 248a850946eSmrg /*) 24970f7c90cSmrg for as_base in sh bash ksh sh5; do 25070f7c90cSmrg as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 25170f7c90cSmrg done;; 25270f7c90cSmrg esac 25370f7c90cSmrgdone 25470f7c90cSmrgIFS=$as_save_IFS 25570f7c90cSmrg 25670f7c90cSmrg 25770f7c90cSmrg for as_shell in $as_candidate_shells $SHELL; do 25870f7c90cSmrg # Try only shells that exist, to save several forks. 25970f7c90cSmrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 26070f7c90cSmrg { ("$as_shell") 2> /dev/null <<\_ASEOF 26170f7c90cSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 26270f7c90cSmrg emulate sh 26370f7c90cSmrg NULLCMD=: 26470f7c90cSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 26570f7c90cSmrg # is contrary to our usage. Disable this feature. 26670f7c90cSmrg alias -g '${1+"$@"}'='"$@"' 26770f7c90cSmrg setopt NO_GLOB_SUBST 26870f7c90cSmrgelse 26970f7c90cSmrg case `(set -o) 2>/dev/null` in 27070f7c90cSmrg *posix*) set -o posix ;; 27170f7c90cSmrgesac 27270f7c90cSmrg 27370f7c90cSmrgfi 27470f7c90cSmrg 27570f7c90cSmrg 27670f7c90cSmrg: 27770f7c90cSmrg_ASEOF 27870f7c90cSmrg}; then 27970f7c90cSmrg CONFIG_SHELL=$as_shell 28070f7c90cSmrg as_have_required=yes 28170f7c90cSmrg if { "$as_shell" 2> /dev/null <<\_ASEOF 28270f7c90cSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 28370f7c90cSmrg emulate sh 28470f7c90cSmrg NULLCMD=: 28570f7c90cSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 28670f7c90cSmrg # is contrary to our usage. Disable this feature. 28770f7c90cSmrg alias -g '${1+"$@"}'='"$@"' 28870f7c90cSmrg setopt NO_GLOB_SUBST 28970f7c90cSmrgelse 29070f7c90cSmrg case `(set -o) 2>/dev/null` in 29170f7c90cSmrg *posix*) set -o posix ;; 29270f7c90cSmrgesac 29370f7c90cSmrg 29470f7c90cSmrgfi 29570f7c90cSmrg 29670f7c90cSmrg 29770f7c90cSmrg: 29870f7c90cSmrg(as_func_return () { 29970f7c90cSmrg (exit $1) 30070f7c90cSmrg} 30170f7c90cSmrgas_func_success () { 30270f7c90cSmrg as_func_return 0 30370f7c90cSmrg} 30470f7c90cSmrgas_func_failure () { 30570f7c90cSmrg as_func_return 1 30670f7c90cSmrg} 30770f7c90cSmrgas_func_ret_success () { 30870f7c90cSmrg return 0 30970f7c90cSmrg} 31070f7c90cSmrgas_func_ret_failure () { 31170f7c90cSmrg return 1 31270f7c90cSmrg} 31370f7c90cSmrg 31470f7c90cSmrgexitcode=0 31570f7c90cSmrgif as_func_success; then 31670f7c90cSmrg : 31770f7c90cSmrgelse 31870f7c90cSmrg exitcode=1 31970f7c90cSmrg echo as_func_success failed. 32070f7c90cSmrgfi 32170f7c90cSmrg 32270f7c90cSmrgif as_func_failure; then 32370f7c90cSmrg exitcode=1 32470f7c90cSmrg echo as_func_failure succeeded. 32570f7c90cSmrgfi 32670f7c90cSmrg 32770f7c90cSmrgif as_func_ret_success; then 32870f7c90cSmrg : 32970f7c90cSmrgelse 33070f7c90cSmrg exitcode=1 33170f7c90cSmrg echo as_func_ret_success failed. 33270f7c90cSmrgfi 33370f7c90cSmrg 33470f7c90cSmrgif as_func_ret_failure; then 33570f7c90cSmrg exitcode=1 33670f7c90cSmrg echo as_func_ret_failure succeeded. 33770f7c90cSmrgfi 33870f7c90cSmrg 33970f7c90cSmrgif ( set x; as_func_ret_success y && test x = "$1" ); then 34070f7c90cSmrg : 34170f7c90cSmrgelse 34270f7c90cSmrg exitcode=1 34370f7c90cSmrg echo positional parameters were not saved. 34470f7c90cSmrgfi 34570f7c90cSmrg 34670f7c90cSmrgtest $exitcode = 0) || { (exit 1); exit 1; } 34770f7c90cSmrg 34870f7c90cSmrg( 349a850946eSmrg as_lineno_1=$LINENO 350a850946eSmrg as_lineno_2=$LINENO 351a850946eSmrg test "x$as_lineno_1" != "x$as_lineno_2" && 35270f7c90cSmrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 35370f7c90cSmrg 35470f7c90cSmrg_ASEOF 35570f7c90cSmrg}; then 35670f7c90cSmrg break 35770f7c90cSmrgfi 35870f7c90cSmrg 35970f7c90cSmrgfi 36070f7c90cSmrg 36170f7c90cSmrg done 36270f7c90cSmrg 36370f7c90cSmrg if test "x$CONFIG_SHELL" != x; then 36470f7c90cSmrg for as_var in BASH_ENV ENV 36570f7c90cSmrg do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 36670f7c90cSmrg done 36770f7c90cSmrg export CONFIG_SHELL 36870f7c90cSmrg exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 36970f7c90cSmrgfi 37070f7c90cSmrg 37170f7c90cSmrg 37270f7c90cSmrg if test $as_have_required = no; then 37370f7c90cSmrg echo This script requires a shell more modern than all the 37470f7c90cSmrg echo shells that I found on your system. Please install a 37570f7c90cSmrg echo modern shell, or manually run the script under such a 37670f7c90cSmrg echo shell if you do have one. 37770f7c90cSmrg { (exit 1); exit 1; } 37870f7c90cSmrgfi 37970f7c90cSmrg 38070f7c90cSmrg 38170f7c90cSmrgfi 38270f7c90cSmrg 38370f7c90cSmrgfi 38470f7c90cSmrg 38570f7c90cSmrg 38670f7c90cSmrg 38770f7c90cSmrg(eval "as_func_return () { 38870f7c90cSmrg (exit \$1) 38970f7c90cSmrg} 39070f7c90cSmrgas_func_success () { 39170f7c90cSmrg as_func_return 0 39270f7c90cSmrg} 39370f7c90cSmrgas_func_failure () { 39470f7c90cSmrg as_func_return 1 39570f7c90cSmrg} 39670f7c90cSmrgas_func_ret_success () { 39770f7c90cSmrg return 0 39870f7c90cSmrg} 39970f7c90cSmrgas_func_ret_failure () { 40070f7c90cSmrg return 1 40170f7c90cSmrg} 40270f7c90cSmrg 40370f7c90cSmrgexitcode=0 40470f7c90cSmrgif as_func_success; then 40570f7c90cSmrg : 40670f7c90cSmrgelse 40770f7c90cSmrg exitcode=1 40870f7c90cSmrg echo as_func_success failed. 40970f7c90cSmrgfi 41070f7c90cSmrg 41170f7c90cSmrgif as_func_failure; then 41270f7c90cSmrg exitcode=1 41370f7c90cSmrg echo as_func_failure succeeded. 41470f7c90cSmrgfi 41570f7c90cSmrg 41670f7c90cSmrgif as_func_ret_success; then 41770f7c90cSmrg : 41870f7c90cSmrgelse 41970f7c90cSmrg exitcode=1 42070f7c90cSmrg echo as_func_ret_success failed. 42170f7c90cSmrgfi 42270f7c90cSmrg 42370f7c90cSmrgif as_func_ret_failure; then 42470f7c90cSmrg exitcode=1 42570f7c90cSmrg echo as_func_ret_failure succeeded. 42670f7c90cSmrgfi 42770f7c90cSmrg 42870f7c90cSmrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 42970f7c90cSmrg : 43070f7c90cSmrgelse 43170f7c90cSmrg exitcode=1 43270f7c90cSmrg echo positional parameters were not saved. 43370f7c90cSmrgfi 43470f7c90cSmrg 43570f7c90cSmrgtest \$exitcode = 0") || { 43670f7c90cSmrg echo No shell found that supports shell functions. 43770f7c90cSmrg echo Please tell bug-autoconf@gnu.org about your system, 43870f7c90cSmrg echo including any error possibly output before this message. 43970f7c90cSmrg echo This can help us improve future autoconf versions. 44070f7c90cSmrg echo Configuration will now proceed without shell functions. 44170f7c90cSmrg} 44270f7c90cSmrg 44370f7c90cSmrg 44470f7c90cSmrg 44570f7c90cSmrg as_lineno_1=$LINENO 44670f7c90cSmrg as_lineno_2=$LINENO 44770f7c90cSmrg test "x$as_lineno_1" != "x$as_lineno_2" && 44870f7c90cSmrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 449a850946eSmrg 450a850946eSmrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 451a850946eSmrg # uniformly replaced by the line number. The first 'sed' inserts a 45270f7c90cSmrg # line-number line after each line using $LINENO; the second 'sed' 45370f7c90cSmrg # does the real work. The second script uses 'N' to pair each 45470f7c90cSmrg # line-number line with the line containing $LINENO, and appends 45570f7c90cSmrg # trailing '-' during substitution so that $LINENO is not a special 45670f7c90cSmrg # case at line end. 457a850946eSmrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 45870f7c90cSmrg # scripts with optimization help from Paolo Bonzini. Blame Lee 45970f7c90cSmrg # E. McMahon (1931-1989) for sed's syntax. :-) 46070f7c90cSmrg sed -n ' 46170f7c90cSmrg p 46270f7c90cSmrg /[$]LINENO/= 46370f7c90cSmrg ' <$as_myself | 464a850946eSmrg sed ' 46570f7c90cSmrg s/[$]LINENO.*/&-/ 46670f7c90cSmrg t lineno 46770f7c90cSmrg b 46870f7c90cSmrg :lineno 469a850946eSmrg N 47070f7c90cSmrg :loop 47170f7c90cSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 472a850946eSmrg t loop 47370f7c90cSmrg s/-\n.*// 474a850946eSmrg ' >$as_me.lineno && 47570f7c90cSmrg chmod +x "$as_me.lineno" || 47670f7c90cSmrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477a850946eSmrg { (exit 1); exit 1; }; } 478a850946eSmrg 479a850946eSmrg # Don't try to exec as it changes $[0], causing all sort of problems 480a850946eSmrg # (the dirname of $[0] is not the place where we might find the 48170f7c90cSmrg # original and so on. Autoconf is especially sensitive to this). 48270f7c90cSmrg . "./$as_me.lineno" 483a850946eSmrg # Exit status is that of the last command. 484a850946eSmrg exit 485a850946eSmrg} 486a850946eSmrg 487a850946eSmrg 48870f7c90cSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 48970f7c90cSmrg as_dirname=dirname 49070f7c90cSmrgelse 49170f7c90cSmrg as_dirname=false 49270f7c90cSmrgfi 493a850946eSmrg 49470f7c90cSmrgECHO_C= ECHO_N= ECHO_T= 49570f7c90cSmrgcase `echo -n x` in 49670f7c90cSmrg-n*) 49770f7c90cSmrg case `echo 'x\c'` in 49870f7c90cSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 49970f7c90cSmrg *) ECHO_C='\c';; 50070f7c90cSmrg esac;; 50170f7c90cSmrg*) 50270f7c90cSmrg ECHO_N='-n';; 50370f7c90cSmrgesac 50470f7c90cSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 50570f7c90cSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 506a850946eSmrg as_expr=expr 507a850946eSmrgelse 508a850946eSmrg as_expr=false 509a850946eSmrgfi 510a850946eSmrg 511a850946eSmrgrm -f conf$$ conf$$.exe conf$$.file 51270f7c90cSmrgif test -d conf$$.dir; then 51370f7c90cSmrg rm -f conf$$.dir/conf$$.file 51470f7c90cSmrgelse 51570f7c90cSmrg rm -f conf$$.dir 51670f7c90cSmrg mkdir conf$$.dir 2>/dev/null 51770f7c90cSmrgfi 51870f7c90cSmrgif (echo >conf$$.file) 2>/dev/null; then 51970f7c90cSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 520a850946eSmrg as_ln_s='ln -s' 52170f7c90cSmrg # ... but there are two gotchas: 52270f7c90cSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 52370f7c90cSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 52470f7c90cSmrg # In both cases, we have to default to `cp -p'. 52570f7c90cSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 52670f7c90cSmrg as_ln_s='cp -p' 52770f7c90cSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 52870f7c90cSmrg as_ln_s=ln 52970f7c90cSmrg else 53070f7c90cSmrg as_ln_s='cp -p' 531a850946eSmrg fi 532a850946eSmrgelse 533a850946eSmrg as_ln_s='cp -p' 534a850946eSmrgfi 53570f7c90cSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 53670f7c90cSmrgrmdir conf$$.dir 2>/dev/null 537a850946eSmrg 538a850946eSmrgif mkdir -p . 2>/dev/null; then 539a850946eSmrg as_mkdir_p=: 540a850946eSmrgelse 541a850946eSmrg test -d ./-p && rmdir ./-p 542a850946eSmrg as_mkdir_p=false 543a850946eSmrgfi 544a850946eSmrg 54570f7c90cSmrgif test -x / >/dev/null 2>&1; then 54670f7c90cSmrg as_test_x='test -x' 54770f7c90cSmrgelse 54870f7c90cSmrg if ls -dL / >/dev/null 2>&1; then 54970f7c90cSmrg as_ls_L_option=L 55070f7c90cSmrg else 55170f7c90cSmrg as_ls_L_option= 55270f7c90cSmrg fi 55370f7c90cSmrg as_test_x=' 55470f7c90cSmrg eval sh -c '\'' 55570f7c90cSmrg if test -d "$1"; then 55670f7c90cSmrg test -d "$1/."; 55770f7c90cSmrg else 55870f7c90cSmrg case $1 in 55970f7c90cSmrg -*)set "./$1";; 56070f7c90cSmrg esac; 56170f7c90cSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 56270f7c90cSmrg ???[sx]*):;;*)false;;esac;fi 56370f7c90cSmrg '\'' sh 56470f7c90cSmrg ' 56570f7c90cSmrgfi 56670f7c90cSmrgas_executable_p=$as_test_x 567a850946eSmrg 568a850946eSmrg# Sed expression to map a string onto a valid CPP name. 569a850946eSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 570a850946eSmrg 571a850946eSmrg# Sed expression to map a string onto a valid variable name. 572a850946eSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 573a850946eSmrg 574a850946eSmrg 575a850946eSmrg 57670f7c90cSmrgexec 7<&0 </dev/null 6>&1 577a850946eSmrg 578a850946eSmrg# Name of the host. 579a850946eSmrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 580a850946eSmrg# so uname gets run too. 581a850946eSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 582a850946eSmrg 583a850946eSmrg# 584a850946eSmrg# Initializations. 585a850946eSmrg# 586a850946eSmrgac_default_prefix=/usr/local 58770f7c90cSmrgac_clean_files= 588a850946eSmrgac_config_libobj_dir=. 58970f7c90cSmrgLIBOBJS= 590a850946eSmrgcross_compiling=no 591a850946eSmrgsubdirs= 592a850946eSmrgMFLAGS= 593a850946eSmrgMAKEFLAGS= 594a850946eSmrgSHELL=${CONFIG_SHELL-/bin/sh} 595a850946eSmrg 596a850946eSmrg# Identity of this package. 597a850946eSmrgPACKAGE_NAME='xlsclients' 598a850946eSmrgPACKAGE_TARNAME='xlsclients' 59970f7c90cSmrgPACKAGE_VERSION='1.0.2' 60070f7c90cSmrgPACKAGE_STRING='xlsclients 1.0.2' 601a850946eSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 602a850946eSmrg 60370f7c90cSmrg# Factoring default headers for most tests. 60470f7c90cSmrgac_includes_default="\ 60570f7c90cSmrg#include <stdio.h> 60670f7c90cSmrg#ifdef HAVE_SYS_TYPES_H 60770f7c90cSmrg# include <sys/types.h> 60870f7c90cSmrg#endif 60970f7c90cSmrg#ifdef HAVE_SYS_STAT_H 61070f7c90cSmrg# include <sys/stat.h> 61170f7c90cSmrg#endif 61270f7c90cSmrg#ifdef STDC_HEADERS 61370f7c90cSmrg# include <stdlib.h> 61470f7c90cSmrg# include <stddef.h> 61570f7c90cSmrg#else 61670f7c90cSmrg# ifdef HAVE_STDLIB_H 61770f7c90cSmrg# include <stdlib.h> 61870f7c90cSmrg# endif 61970f7c90cSmrg#endif 62070f7c90cSmrg#ifdef HAVE_STRING_H 62170f7c90cSmrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 62270f7c90cSmrg# include <memory.h> 62370f7c90cSmrg# endif 62470f7c90cSmrg# include <string.h> 62570f7c90cSmrg#endif 62670f7c90cSmrg#ifdef HAVE_STRINGS_H 62770f7c90cSmrg# include <strings.h> 62870f7c90cSmrg#endif 62970f7c90cSmrg#ifdef HAVE_INTTYPES_H 63070f7c90cSmrg# include <inttypes.h> 63170f7c90cSmrg#endif 63270f7c90cSmrg#ifdef HAVE_STDINT_H 63370f7c90cSmrg# include <stdint.h> 63470f7c90cSmrg#endif 63570f7c90cSmrg#ifdef HAVE_UNISTD_H 63670f7c90cSmrg# include <unistd.h> 63770f7c90cSmrg#endif" 63870f7c90cSmrg 63970f7c90cSmrgac_subst_vars='am__EXEEXT_FALSE 64070f7c90cSmrgam__EXEEXT_TRUE 64170f7c90cSmrgLTLIBOBJS 64270f7c90cSmrgLIBOBJS 64370f7c90cSmrgXLSCLIENTS_LIBS 64470f7c90cSmrgXLSCLIENTS_CFLAGS 64570f7c90cSmrgPKG_CONFIG 64670f7c90cSmrgADMIN_MAN_DIR 64770f7c90cSmrgDRIVER_MAN_DIR 64870f7c90cSmrgMISC_MAN_DIR 64970f7c90cSmrgFILE_MAN_DIR 65070f7c90cSmrgLIB_MAN_DIR 65170f7c90cSmrgAPP_MAN_DIR 65270f7c90cSmrgADMIN_MAN_SUFFIX 65370f7c90cSmrgDRIVER_MAN_SUFFIX 65470f7c90cSmrgMISC_MAN_SUFFIX 65570f7c90cSmrgFILE_MAN_SUFFIX 65670f7c90cSmrgLIB_MAN_SUFFIX 65770f7c90cSmrgAPP_MAN_SUFFIX 65870f7c90cSmrghost_os 65970f7c90cSmrghost_vendor 66070f7c90cSmrghost_cpu 66170f7c90cSmrghost 66270f7c90cSmrgbuild_os 66370f7c90cSmrgbuild_vendor 66470f7c90cSmrgbuild_cpu 66570f7c90cSmrgbuild 66670f7c90cSmrgdistcleancheck_listfiles 66770f7c90cSmrgCHANGELOG_CMD 66870f7c90cSmrgAM_BACKSLASH 66970f7c90cSmrgAM_DEFAULT_VERBOSITY 67070f7c90cSmrgCWARNFLAGS 67170f7c90cSmrgEGREP 67270f7c90cSmrgGREP 67370f7c90cSmrgCPP 67470f7c90cSmrgam__fastdepCC_FALSE 67570f7c90cSmrgam__fastdepCC_TRUE 67670f7c90cSmrgCCDEPMODE 67770f7c90cSmrgAMDEPBACKSLASH 67870f7c90cSmrgAMDEP_FALSE 67970f7c90cSmrgAMDEP_TRUE 68070f7c90cSmrgam__quote 68170f7c90cSmrgam__include 68270f7c90cSmrgDEPDIR 68370f7c90cSmrgOBJEXT 68470f7c90cSmrgEXEEXT 68570f7c90cSmrgac_ct_CC 68670f7c90cSmrgCPPFLAGS 68770f7c90cSmrgLDFLAGS 68870f7c90cSmrgCFLAGS 68970f7c90cSmrgCC 69070f7c90cSmrgMAINT 69170f7c90cSmrgMAINTAINER_MODE_FALSE 69270f7c90cSmrgMAINTAINER_MODE_TRUE 69370f7c90cSmrgam__untar 69470f7c90cSmrgam__tar 69570f7c90cSmrgAMTAR 69670f7c90cSmrgam__leading_dot 69770f7c90cSmrgSET_MAKE 69870f7c90cSmrgAWK 69970f7c90cSmrgmkdir_p 70070f7c90cSmrgMKDIR_P 70170f7c90cSmrgINSTALL_STRIP_PROGRAM 70270f7c90cSmrgSTRIP 70370f7c90cSmrginstall_sh 70470f7c90cSmrgMAKEINFO 70570f7c90cSmrgAUTOHEADER 70670f7c90cSmrgAUTOMAKE 70770f7c90cSmrgAUTOCONF 70870f7c90cSmrgACLOCAL 70970f7c90cSmrgVERSION 71070f7c90cSmrgPACKAGE 71170f7c90cSmrgCYGPATH_W 71270f7c90cSmrgam__isrc 71370f7c90cSmrgINSTALL_DATA 71470f7c90cSmrgINSTALL_SCRIPT 71570f7c90cSmrgINSTALL_PROGRAM 71670f7c90cSmrgtarget_alias 71770f7c90cSmrghost_alias 71870f7c90cSmrgbuild_alias 71970f7c90cSmrgLIBS 72070f7c90cSmrgECHO_T 72170f7c90cSmrgECHO_N 72270f7c90cSmrgECHO_C 72370f7c90cSmrgDEFS 72470f7c90cSmrgmandir 72570f7c90cSmrglocaledir 72670f7c90cSmrglibdir 72770f7c90cSmrgpsdir 72870f7c90cSmrgpdfdir 72970f7c90cSmrgdvidir 73070f7c90cSmrghtmldir 73170f7c90cSmrginfodir 73270f7c90cSmrgdocdir 73370f7c90cSmrgoldincludedir 73470f7c90cSmrgincludedir 73570f7c90cSmrglocalstatedir 73670f7c90cSmrgsharedstatedir 73770f7c90cSmrgsysconfdir 73870f7c90cSmrgdatadir 73970f7c90cSmrgdatarootdir 74070f7c90cSmrglibexecdir 74170f7c90cSmrgsbindir 74270f7c90cSmrgbindir 74370f7c90cSmrgprogram_transform_name 74470f7c90cSmrgprefix 74570f7c90cSmrgexec_prefix 74670f7c90cSmrgPACKAGE_BUGREPORT 74770f7c90cSmrgPACKAGE_STRING 74870f7c90cSmrgPACKAGE_VERSION 74970f7c90cSmrgPACKAGE_TARNAME 75070f7c90cSmrgPACKAGE_NAME 75170f7c90cSmrgPATH_SEPARATOR 75270f7c90cSmrgSHELL' 753a850946eSmrgac_subst_files='' 75470f7c90cSmrgac_user_opts=' 75570f7c90cSmrgenable_option_checking 75670f7c90cSmrgenable_maintainer_mode 75770f7c90cSmrgenable_dependency_tracking 75870f7c90cSmrgenable_silent_rules 75970f7c90cSmrgenable_strict_compilation 76070f7c90cSmrgwith_release_version 76170f7c90cSmrg' 76270f7c90cSmrg ac_precious_vars='build_alias 76370f7c90cSmrghost_alias 76470f7c90cSmrgtarget_alias 76570f7c90cSmrgCC 76670f7c90cSmrgCFLAGS 76770f7c90cSmrgLDFLAGS 76870f7c90cSmrgLIBS 76970f7c90cSmrgCPPFLAGS 77070f7c90cSmrgCPP 77170f7c90cSmrgPKG_CONFIG 77270f7c90cSmrgXLSCLIENTS_CFLAGS 77370f7c90cSmrgXLSCLIENTS_LIBS' 77470f7c90cSmrg 775a850946eSmrg 776a850946eSmrg# Initialize some variables set by options. 777a850946eSmrgac_init_help= 778a850946eSmrgac_init_version=false 77970f7c90cSmrgac_unrecognized_opts= 78070f7c90cSmrgac_unrecognized_sep= 781a850946eSmrg# The variables have the same names as the options, with 782a850946eSmrg# dashes changed to underlines. 783a850946eSmrgcache_file=/dev/null 784a850946eSmrgexec_prefix=NONE 785a850946eSmrgno_create= 786a850946eSmrgno_recursion= 787a850946eSmrgprefix=NONE 788a850946eSmrgprogram_prefix=NONE 789a850946eSmrgprogram_suffix=NONE 790a850946eSmrgprogram_transform_name=s,x,x, 791a850946eSmrgsilent= 792a850946eSmrgsite= 793a850946eSmrgsrcdir= 794a850946eSmrgverbose= 795a850946eSmrgx_includes=NONE 796a850946eSmrgx_libraries=NONE 797a850946eSmrg 798a850946eSmrg# Installation directory options. 799a850946eSmrg# These are left unexpanded so users can "make install exec_prefix=/foo" 800a850946eSmrg# and all the variables that are supposed to be based on exec_prefix 801a850946eSmrg# by default will actually change. 802a850946eSmrg# Use braces instead of parens because sh, perl, etc. also accept them. 80370f7c90cSmrg# (The list follows the same order as the GNU Coding Standards.) 804a850946eSmrgbindir='${exec_prefix}/bin' 805a850946eSmrgsbindir='${exec_prefix}/sbin' 806a850946eSmrglibexecdir='${exec_prefix}/libexec' 80770f7c90cSmrgdatarootdir='${prefix}/share' 80870f7c90cSmrgdatadir='${datarootdir}' 809a850946eSmrgsysconfdir='${prefix}/etc' 810a850946eSmrgsharedstatedir='${prefix}/com' 811a850946eSmrglocalstatedir='${prefix}/var' 812a850946eSmrgincludedir='${prefix}/include' 813a850946eSmrgoldincludedir='/usr/include' 81470f7c90cSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 81570f7c90cSmrginfodir='${datarootdir}/info' 81670f7c90cSmrghtmldir='${docdir}' 81770f7c90cSmrgdvidir='${docdir}' 81870f7c90cSmrgpdfdir='${docdir}' 81970f7c90cSmrgpsdir='${docdir}' 82070f7c90cSmrglibdir='${exec_prefix}/lib' 82170f7c90cSmrglocaledir='${datarootdir}/locale' 82270f7c90cSmrgmandir='${datarootdir}/man' 823a850946eSmrg 824a850946eSmrgac_prev= 82570f7c90cSmrgac_dashdash= 826a850946eSmrgfor ac_option 827a850946eSmrgdo 828a850946eSmrg # If the previous option needs an argument, assign it. 829a850946eSmrg if test -n "$ac_prev"; then 83070f7c90cSmrg eval $ac_prev=\$ac_option 831a850946eSmrg ac_prev= 832a850946eSmrg continue 833a850946eSmrg fi 834a850946eSmrg 83570f7c90cSmrg case $ac_option in 83670f7c90cSmrg *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 83770f7c90cSmrg *) ac_optarg=yes ;; 83870f7c90cSmrg esac 839a850946eSmrg 840a850946eSmrg # Accept the important Cygnus configure options, so we can diagnose typos. 841a850946eSmrg 84270f7c90cSmrg case $ac_dashdash$ac_option in 84370f7c90cSmrg --) 84470f7c90cSmrg ac_dashdash=yes ;; 845a850946eSmrg 846a850946eSmrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 847a850946eSmrg ac_prev=bindir ;; 848a850946eSmrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 849a850946eSmrg bindir=$ac_optarg ;; 850a850946eSmrg 851a850946eSmrg -build | --build | --buil | --bui | --bu) 852a850946eSmrg ac_prev=build_alias ;; 853a850946eSmrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 854a850946eSmrg build_alias=$ac_optarg ;; 855a850946eSmrg 856a850946eSmrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 857a850946eSmrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 858a850946eSmrg ac_prev=cache_file ;; 859a850946eSmrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 860a850946eSmrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 861a850946eSmrg cache_file=$ac_optarg ;; 862a850946eSmrg 863a850946eSmrg --config-cache | -C) 864a850946eSmrg cache_file=config.cache ;; 865a850946eSmrg 86670f7c90cSmrg -datadir | --datadir | --datadi | --datad) 867a850946eSmrg ac_prev=datadir ;; 86870f7c90cSmrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 869a850946eSmrg datadir=$ac_optarg ;; 870a850946eSmrg 87170f7c90cSmrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 87270f7c90cSmrg | --dataroo | --dataro | --datar) 87370f7c90cSmrg ac_prev=datarootdir ;; 87470f7c90cSmrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 87570f7c90cSmrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 87670f7c90cSmrg datarootdir=$ac_optarg ;; 87770f7c90cSmrg 878a850946eSmrg -disable-* | --disable-*) 87970f7c90cSmrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 880a850946eSmrg # Reject names that are not valid shell variable names. 88170f7c90cSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 88270f7c90cSmrg { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 883a850946eSmrg { (exit 1); exit 1; }; } 88470f7c90cSmrg ac_useropt_orig=$ac_useropt 88570f7c90cSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 88670f7c90cSmrg case $ac_user_opts in 88770f7c90cSmrg *" 88870f7c90cSmrg"enable_$ac_useropt" 88970f7c90cSmrg"*) ;; 89070f7c90cSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 89170f7c90cSmrg ac_unrecognized_sep=', ';; 89270f7c90cSmrg esac 89370f7c90cSmrg eval enable_$ac_useropt=no ;; 89470f7c90cSmrg 89570f7c90cSmrg -docdir | --docdir | --docdi | --doc | --do) 89670f7c90cSmrg ac_prev=docdir ;; 89770f7c90cSmrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 89870f7c90cSmrg docdir=$ac_optarg ;; 89970f7c90cSmrg 90070f7c90cSmrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 90170f7c90cSmrg ac_prev=dvidir ;; 90270f7c90cSmrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 90370f7c90cSmrg dvidir=$ac_optarg ;; 904a850946eSmrg 905a850946eSmrg -enable-* | --enable-*) 90670f7c90cSmrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 907a850946eSmrg # Reject names that are not valid shell variable names. 90870f7c90cSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 90970f7c90cSmrg { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 910a850946eSmrg { (exit 1); exit 1; }; } 91170f7c90cSmrg ac_useropt_orig=$ac_useropt 91270f7c90cSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 91370f7c90cSmrg case $ac_user_opts in 91470f7c90cSmrg *" 91570f7c90cSmrg"enable_$ac_useropt" 91670f7c90cSmrg"*) ;; 91770f7c90cSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 91870f7c90cSmrg ac_unrecognized_sep=', ';; 919a850946eSmrg esac 92070f7c90cSmrg eval enable_$ac_useropt=\$ac_optarg ;; 921a850946eSmrg 922a850946eSmrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 923a850946eSmrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 924a850946eSmrg | --exec | --exe | --ex) 925a850946eSmrg ac_prev=exec_prefix ;; 926a850946eSmrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 927a850946eSmrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 928a850946eSmrg | --exec=* | --exe=* | --ex=*) 929a850946eSmrg exec_prefix=$ac_optarg ;; 930a850946eSmrg 931a850946eSmrg -gas | --gas | --ga | --g) 932a850946eSmrg # Obsolete; use --with-gas. 933a850946eSmrg with_gas=yes ;; 934a850946eSmrg 935a850946eSmrg -help | --help | --hel | --he | -h) 936a850946eSmrg ac_init_help=long ;; 937a850946eSmrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 938a850946eSmrg ac_init_help=recursive ;; 939a850946eSmrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 940a850946eSmrg ac_init_help=short ;; 941a850946eSmrg 942a850946eSmrg -host | --host | --hos | --ho) 943a850946eSmrg ac_prev=host_alias ;; 944a850946eSmrg -host=* | --host=* | --hos=* | --ho=*) 945a850946eSmrg host_alias=$ac_optarg ;; 946a850946eSmrg 94770f7c90cSmrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 94870f7c90cSmrg ac_prev=htmldir ;; 94970f7c90cSmrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 95070f7c90cSmrg | --ht=*) 95170f7c90cSmrg htmldir=$ac_optarg ;; 95270f7c90cSmrg 953a850946eSmrg -includedir | --includedir | --includedi | --included | --include \ 954a850946eSmrg | --includ | --inclu | --incl | --inc) 955a850946eSmrg ac_prev=includedir ;; 956a850946eSmrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 957a850946eSmrg | --includ=* | --inclu=* | --incl=* | --inc=*) 958a850946eSmrg includedir=$ac_optarg ;; 959a850946eSmrg 960a850946eSmrg -infodir | --infodir | --infodi | --infod | --info | --inf) 961a850946eSmrg ac_prev=infodir ;; 962a850946eSmrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 963a850946eSmrg infodir=$ac_optarg ;; 964a850946eSmrg 965a850946eSmrg -libdir | --libdir | --libdi | --libd) 966a850946eSmrg ac_prev=libdir ;; 967a850946eSmrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 968a850946eSmrg libdir=$ac_optarg ;; 969a850946eSmrg 970a850946eSmrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 971a850946eSmrg | --libexe | --libex | --libe) 972a850946eSmrg ac_prev=libexecdir ;; 973a850946eSmrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 974a850946eSmrg | --libexe=* | --libex=* | --libe=*) 975a850946eSmrg libexecdir=$ac_optarg ;; 976a850946eSmrg 97770f7c90cSmrg -localedir | --localedir | --localedi | --localed | --locale) 97870f7c90cSmrg ac_prev=localedir ;; 97970f7c90cSmrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 98070f7c90cSmrg localedir=$ac_optarg ;; 98170f7c90cSmrg 982a850946eSmrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 98370f7c90cSmrg | --localstate | --localstat | --localsta | --localst | --locals) 984a850946eSmrg ac_prev=localstatedir ;; 985a850946eSmrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 98670f7c90cSmrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 987a850946eSmrg localstatedir=$ac_optarg ;; 988a850946eSmrg 989a850946eSmrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 990a850946eSmrg ac_prev=mandir ;; 991a850946eSmrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 992a850946eSmrg mandir=$ac_optarg ;; 993a850946eSmrg 994a850946eSmrg -nfp | --nfp | --nf) 995a850946eSmrg # Obsolete; use --without-fp. 996a850946eSmrg with_fp=no ;; 997a850946eSmrg 998a850946eSmrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 999a850946eSmrg | --no-cr | --no-c | -n) 1000a850946eSmrg no_create=yes ;; 1001a850946eSmrg 1002a850946eSmrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1003a850946eSmrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1004a850946eSmrg no_recursion=yes ;; 1005a850946eSmrg 1006a850946eSmrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1007a850946eSmrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1008a850946eSmrg | --oldin | --oldi | --old | --ol | --o) 1009a850946eSmrg ac_prev=oldincludedir ;; 1010a850946eSmrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1011a850946eSmrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1012a850946eSmrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1013a850946eSmrg oldincludedir=$ac_optarg ;; 1014a850946eSmrg 1015a850946eSmrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1016a850946eSmrg ac_prev=prefix ;; 1017a850946eSmrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1018a850946eSmrg prefix=$ac_optarg ;; 1019a850946eSmrg 1020a850946eSmrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1021a850946eSmrg | --program-pre | --program-pr | --program-p) 1022a850946eSmrg ac_prev=program_prefix ;; 1023a850946eSmrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1024a850946eSmrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1025a850946eSmrg program_prefix=$ac_optarg ;; 1026a850946eSmrg 1027a850946eSmrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1028a850946eSmrg | --program-suf | --program-su | --program-s) 1029a850946eSmrg ac_prev=program_suffix ;; 1030a850946eSmrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1031a850946eSmrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1032a850946eSmrg program_suffix=$ac_optarg ;; 1033a850946eSmrg 1034a850946eSmrg -program-transform-name | --program-transform-name \ 1035a850946eSmrg | --program-transform-nam | --program-transform-na \ 1036a850946eSmrg | --program-transform-n | --program-transform- \ 1037a850946eSmrg | --program-transform | --program-transfor \ 1038a850946eSmrg | --program-transfo | --program-transf \ 1039a850946eSmrg | --program-trans | --program-tran \ 1040a850946eSmrg | --progr-tra | --program-tr | --program-t) 1041a850946eSmrg ac_prev=program_transform_name ;; 1042a850946eSmrg -program-transform-name=* | --program-transform-name=* \ 1043a850946eSmrg | --program-transform-nam=* | --program-transform-na=* \ 1044a850946eSmrg | --program-transform-n=* | --program-transform-=* \ 1045a850946eSmrg | --program-transform=* | --program-transfor=* \ 1046a850946eSmrg | --program-transfo=* | --program-transf=* \ 1047a850946eSmrg | --program-trans=* | --program-tran=* \ 1048a850946eSmrg | --progr-tra=* | --program-tr=* | --program-t=*) 1049a850946eSmrg program_transform_name=$ac_optarg ;; 1050a850946eSmrg 105170f7c90cSmrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 105270f7c90cSmrg ac_prev=pdfdir ;; 105370f7c90cSmrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 105470f7c90cSmrg pdfdir=$ac_optarg ;; 105570f7c90cSmrg 105670f7c90cSmrg -psdir | --psdir | --psdi | --psd | --ps) 105770f7c90cSmrg ac_prev=psdir ;; 105870f7c90cSmrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 105970f7c90cSmrg psdir=$ac_optarg ;; 106070f7c90cSmrg 1061a850946eSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1062a850946eSmrg | -silent | --silent | --silen | --sile | --sil) 1063a850946eSmrg silent=yes ;; 1064a850946eSmrg 1065a850946eSmrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1066a850946eSmrg ac_prev=sbindir ;; 1067a850946eSmrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1068a850946eSmrg | --sbi=* | --sb=*) 1069a850946eSmrg sbindir=$ac_optarg ;; 1070a850946eSmrg 1071a850946eSmrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1072a850946eSmrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1073a850946eSmrg | --sharedst | --shareds | --shared | --share | --shar \ 1074a850946eSmrg | --sha | --sh) 1075a850946eSmrg ac_prev=sharedstatedir ;; 1076a850946eSmrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1077a850946eSmrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1078a850946eSmrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1079a850946eSmrg | --sha=* | --sh=*) 1080a850946eSmrg sharedstatedir=$ac_optarg ;; 1081a850946eSmrg 1082a850946eSmrg -site | --site | --sit) 1083a850946eSmrg ac_prev=site ;; 1084a850946eSmrg -site=* | --site=* | --sit=*) 1085a850946eSmrg site=$ac_optarg ;; 1086a850946eSmrg 1087a850946eSmrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1088a850946eSmrg ac_prev=srcdir ;; 1089a850946eSmrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1090a850946eSmrg srcdir=$ac_optarg ;; 1091a850946eSmrg 1092a850946eSmrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1093a850946eSmrg | --syscon | --sysco | --sysc | --sys | --sy) 1094a850946eSmrg ac_prev=sysconfdir ;; 1095a850946eSmrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1096a850946eSmrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1097a850946eSmrg sysconfdir=$ac_optarg ;; 1098a850946eSmrg 1099a850946eSmrg -target | --target | --targe | --targ | --tar | --ta | --t) 1100a850946eSmrg ac_prev=target_alias ;; 1101a850946eSmrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1102a850946eSmrg target_alias=$ac_optarg ;; 1103a850946eSmrg 1104a850946eSmrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 1105a850946eSmrg verbose=yes ;; 1106a850946eSmrg 1107a850946eSmrg -version | --version | --versio | --versi | --vers | -V) 1108a850946eSmrg ac_init_version=: ;; 1109a850946eSmrg 1110a850946eSmrg -with-* | --with-*) 111170f7c90cSmrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1112a850946eSmrg # Reject names that are not valid shell variable names. 111370f7c90cSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 111470f7c90cSmrg { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1115a850946eSmrg { (exit 1); exit 1; }; } 111670f7c90cSmrg ac_useropt_orig=$ac_useropt 111770f7c90cSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 111870f7c90cSmrg case $ac_user_opts in 111970f7c90cSmrg *" 112070f7c90cSmrg"with_$ac_useropt" 112170f7c90cSmrg"*) ;; 112270f7c90cSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 112370f7c90cSmrg ac_unrecognized_sep=', ';; 1124a850946eSmrg esac 112570f7c90cSmrg eval with_$ac_useropt=\$ac_optarg ;; 1126a850946eSmrg 1127a850946eSmrg -without-* | --without-*) 112870f7c90cSmrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1129a850946eSmrg # Reject names that are not valid shell variable names. 113070f7c90cSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 113170f7c90cSmrg { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1132a850946eSmrg { (exit 1); exit 1; }; } 113370f7c90cSmrg ac_useropt_orig=$ac_useropt 113470f7c90cSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 113570f7c90cSmrg case $ac_user_opts in 113670f7c90cSmrg *" 113770f7c90cSmrg"with_$ac_useropt" 113870f7c90cSmrg"*) ;; 113970f7c90cSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 114070f7c90cSmrg ac_unrecognized_sep=', ';; 114170f7c90cSmrg esac 114270f7c90cSmrg eval with_$ac_useropt=no ;; 1143a850946eSmrg 1144a850946eSmrg --x) 1145a850946eSmrg # Obsolete; use --with-x. 1146a850946eSmrg with_x=yes ;; 1147a850946eSmrg 1148a850946eSmrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1149a850946eSmrg | --x-incl | --x-inc | --x-in | --x-i) 1150a850946eSmrg ac_prev=x_includes ;; 1151a850946eSmrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1152a850946eSmrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1153a850946eSmrg x_includes=$ac_optarg ;; 1154a850946eSmrg 1155a850946eSmrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1156a850946eSmrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1157a850946eSmrg ac_prev=x_libraries ;; 1158a850946eSmrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1159a850946eSmrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1160a850946eSmrg x_libraries=$ac_optarg ;; 1161a850946eSmrg 116270f7c90cSmrg -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1163a850946eSmrgTry \`$0 --help' for more information." >&2 1164a850946eSmrg { (exit 1); exit 1; }; } 1165a850946eSmrg ;; 1166a850946eSmrg 1167a850946eSmrg *=*) 1168a850946eSmrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1169a850946eSmrg # Reject names that are not valid shell variable names. 1170a850946eSmrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 117170f7c90cSmrg { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1172a850946eSmrg { (exit 1); exit 1; }; } 117370f7c90cSmrg eval $ac_envvar=\$ac_optarg 1174a850946eSmrg export $ac_envvar ;; 1175a850946eSmrg 1176a850946eSmrg *) 1177a850946eSmrg # FIXME: should be removed in autoconf 3.0. 117870f7c90cSmrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1179a850946eSmrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 118070f7c90cSmrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1181a850946eSmrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1182a850946eSmrg ;; 1183a850946eSmrg 1184a850946eSmrg esac 1185a850946eSmrgdone 1186a850946eSmrg 1187a850946eSmrgif test -n "$ac_prev"; then 1188a850946eSmrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 118970f7c90cSmrg { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1190a850946eSmrg { (exit 1); exit 1; }; } 1191a850946eSmrgfi 1192a850946eSmrg 119370f7c90cSmrgif test -n "$ac_unrecognized_opts"; then 119470f7c90cSmrg case $enable_option_checking in 119570f7c90cSmrg no) ;; 119670f7c90cSmrg fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 119770f7c90cSmrg { (exit 1); exit 1; }; } ;; 119870f7c90cSmrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1199a850946eSmrg esac 120070f7c90cSmrgfi 1201a850946eSmrg 120270f7c90cSmrg# Check all directory arguments for consistency. 120370f7c90cSmrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 120470f7c90cSmrg datadir sysconfdir sharedstatedir localstatedir includedir \ 120570f7c90cSmrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 120670f7c90cSmrg libdir localedir mandir 1207a850946eSmrgdo 120870f7c90cSmrg eval ac_val=\$$ac_var 120970f7c90cSmrg # Remove trailing slashes. 1210a850946eSmrg case $ac_val in 121170f7c90cSmrg */ ) 121270f7c90cSmrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 121370f7c90cSmrg eval $ac_var=\$ac_val;; 121470f7c90cSmrg esac 121570f7c90cSmrg # Be sure to have absolute directory names. 121670f7c90cSmrg case $ac_val in 121770f7c90cSmrg [\\/$]* | ?:[\\/]* ) continue;; 121870f7c90cSmrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1219a850946eSmrg esac 122070f7c90cSmrg { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 122170f7c90cSmrg { (exit 1); exit 1; }; } 1222a850946eSmrgdone 1223a850946eSmrg 1224a850946eSmrg# There might be people who depend on the old broken behavior: `$host' 1225a850946eSmrg# used to hold the argument of --host etc. 1226a850946eSmrg# FIXME: To remove some day. 1227a850946eSmrgbuild=$build_alias 1228a850946eSmrghost=$host_alias 1229a850946eSmrgtarget=$target_alias 1230a850946eSmrg 1231a850946eSmrg# FIXME: To remove some day. 1232a850946eSmrgif test "x$host_alias" != x; then 1233a850946eSmrg if test "x$build_alias" = x; then 1234a850946eSmrg cross_compiling=maybe 123570f7c90cSmrg $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1236a850946eSmrg If a cross compiler is detected then cross compile mode will be used." >&2 1237a850946eSmrg elif test "x$build_alias" != "x$host_alias"; then 1238a850946eSmrg cross_compiling=yes 1239a850946eSmrg fi 1240a850946eSmrgfi 1241a850946eSmrg 1242a850946eSmrgac_tool_prefix= 1243a850946eSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 1244a850946eSmrg 1245a850946eSmrgtest "$silent" = yes && exec 6>/dev/null 1246a850946eSmrg 1247a850946eSmrg 124870f7c90cSmrgac_pwd=`pwd` && test -n "$ac_pwd" && 124970f7c90cSmrgac_ls_di=`ls -di .` && 125070f7c90cSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 125170f7c90cSmrg { $as_echo "$as_me: error: working directory cannot be determined" >&2 125270f7c90cSmrg { (exit 1); exit 1; }; } 125370f7c90cSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 125470f7c90cSmrg { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 125570f7c90cSmrg { (exit 1); exit 1; }; } 125670f7c90cSmrg 125770f7c90cSmrg 125870f7c90cSmrg# Find the source files, if location was not specified. 125970f7c90cSmrgif test -z "$srcdir"; then 1260a850946eSmrg ac_srcdir_defaulted=yes 126170f7c90cSmrg # Try the directory containing this script, then the parent directory. 126270f7c90cSmrg ac_confdir=`$as_dirname -- "$as_myself" || 126370f7c90cSmrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 126470f7c90cSmrg X"$as_myself" : 'X\(//\)[^/]' \| \ 126570f7c90cSmrg X"$as_myself" : 'X\(//\)$' \| \ 126670f7c90cSmrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 126770f7c90cSmrg$as_echo X"$as_myself" | 126870f7c90cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 126970f7c90cSmrg s//\1/ 127070f7c90cSmrg q 127170f7c90cSmrg } 127270f7c90cSmrg /^X\(\/\/\)[^/].*/{ 127370f7c90cSmrg s//\1/ 127470f7c90cSmrg q 127570f7c90cSmrg } 127670f7c90cSmrg /^X\(\/\/\)$/{ 127770f7c90cSmrg s//\1/ 127870f7c90cSmrg q 127970f7c90cSmrg } 128070f7c90cSmrg /^X\(\/\).*/{ 128170f7c90cSmrg s//\1/ 128270f7c90cSmrg q 128370f7c90cSmrg } 128470f7c90cSmrg s/.*/./; q'` 1285a850946eSmrg srcdir=$ac_confdir 128670f7c90cSmrg if test ! -r "$srcdir/$ac_unique_file"; then 1287a850946eSmrg srcdir=.. 1288a850946eSmrg fi 1289a850946eSmrgelse 1290a850946eSmrg ac_srcdir_defaulted=no 1291a850946eSmrgfi 129270f7c90cSmrgif test ! -r "$srcdir/$ac_unique_file"; then 129370f7c90cSmrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 129470f7c90cSmrg { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1295a850946eSmrg { (exit 1); exit 1; }; } 1296a850946eSmrgfi 129770f7c90cSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 129870f7c90cSmrgac_abs_confdir=`( 129970f7c90cSmrg cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1300a850946eSmrg { (exit 1); exit 1; }; } 130170f7c90cSmrg pwd)` 130270f7c90cSmrg# When building in place, set srcdir=. 130370f7c90cSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then 130470f7c90cSmrg srcdir=. 130570f7c90cSmrgfi 130670f7c90cSmrg# Remove unnecessary trailing slashes from srcdir. 130770f7c90cSmrg# Double slashes in file names in object file debugging info 130870f7c90cSmrg# mess up M-x gdb in Emacs. 130970f7c90cSmrgcase $srcdir in 131070f7c90cSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 131170f7c90cSmrgesac 131270f7c90cSmrgfor ac_var in $ac_precious_vars; do 131370f7c90cSmrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 131470f7c90cSmrg eval ac_env_${ac_var}_value=\$${ac_var} 131570f7c90cSmrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 131670f7c90cSmrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 131770f7c90cSmrgdone 1318a850946eSmrg 1319a850946eSmrg# 1320a850946eSmrg# Report the --help message. 1321a850946eSmrg# 1322a850946eSmrgif test "$ac_init_help" = "long"; then 1323a850946eSmrg # Omit some internal or obsolete options to make the list less imposing. 1324a850946eSmrg # This message is too long to be a string in the A/UX 3.1 sh. 1325a850946eSmrg cat <<_ACEOF 132670f7c90cSmrg\`configure' configures xlsclients 1.0.2 to adapt to many kinds of systems. 1327a850946eSmrg 1328a850946eSmrgUsage: $0 [OPTION]... [VAR=VALUE]... 1329a850946eSmrg 1330a850946eSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1331a850946eSmrgVAR=VALUE. See below for descriptions of some of the useful variables. 1332a850946eSmrg 1333a850946eSmrgDefaults for the options are specified in brackets. 1334a850946eSmrg 1335a850946eSmrgConfiguration: 1336a850946eSmrg -h, --help display this help and exit 1337a850946eSmrg --help=short display options specific to this package 1338a850946eSmrg --help=recursive display the short help of all the included packages 1339a850946eSmrg -V, --version display version information and exit 1340a850946eSmrg -q, --quiet, --silent do not print \`checking...' messages 1341a850946eSmrg --cache-file=FILE cache test results in FILE [disabled] 1342a850946eSmrg -C, --config-cache alias for \`--cache-file=config.cache' 1343a850946eSmrg -n, --no-create do not create output files 1344a850946eSmrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1345a850946eSmrg 1346a850946eSmrgInstallation directories: 1347a850946eSmrg --prefix=PREFIX install architecture-independent files in PREFIX 134870f7c90cSmrg [$ac_default_prefix] 1349a850946eSmrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 135070f7c90cSmrg [PREFIX] 1351a850946eSmrg 1352a850946eSmrgBy default, \`make install' will install all the files in 1353a850946eSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1354a850946eSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1355a850946eSmrgfor instance \`--prefix=\$HOME'. 1356a850946eSmrg 1357a850946eSmrgFor better control, use the options below. 1358a850946eSmrg 1359a850946eSmrgFine tuning of the installation directories: 136070f7c90cSmrg --bindir=DIR user executables [EPREFIX/bin] 136170f7c90cSmrg --sbindir=DIR system admin executables [EPREFIX/sbin] 136270f7c90cSmrg --libexecdir=DIR program executables [EPREFIX/libexec] 136370f7c90cSmrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 136470f7c90cSmrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 136570f7c90cSmrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 136670f7c90cSmrg --libdir=DIR object code libraries [EPREFIX/lib] 136770f7c90cSmrg --includedir=DIR C header files [PREFIX/include] 136870f7c90cSmrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 136970f7c90cSmrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 137070f7c90cSmrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 137170f7c90cSmrg --infodir=DIR info documentation [DATAROOTDIR/info] 137270f7c90cSmrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 137370f7c90cSmrg --mandir=DIR man documentation [DATAROOTDIR/man] 137470f7c90cSmrg --docdir=DIR documentation root [DATAROOTDIR/doc/xlsclients] 137570f7c90cSmrg --htmldir=DIR html documentation [DOCDIR] 137670f7c90cSmrg --dvidir=DIR dvi documentation [DOCDIR] 137770f7c90cSmrg --pdfdir=DIR pdf documentation [DOCDIR] 137870f7c90cSmrg --psdir=DIR ps documentation [DOCDIR] 1379a850946eSmrg_ACEOF 1380a850946eSmrg 1381a850946eSmrg cat <<\_ACEOF 1382a850946eSmrg 1383a850946eSmrgProgram names: 1384a850946eSmrg --program-prefix=PREFIX prepend PREFIX to installed program names 1385a850946eSmrg --program-suffix=SUFFIX append SUFFIX to installed program names 1386a850946eSmrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1387a850946eSmrg 1388a850946eSmrgSystem types: 1389a850946eSmrg --build=BUILD configure for building on BUILD [guessed] 1390a850946eSmrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 1391a850946eSmrg_ACEOF 1392a850946eSmrgfi 1393a850946eSmrg 1394a850946eSmrgif test -n "$ac_init_help"; then 1395a850946eSmrg case $ac_init_help in 139670f7c90cSmrg short | recursive ) echo "Configuration of xlsclients 1.0.2:";; 1397a850946eSmrg esac 1398a850946eSmrg cat <<\_ACEOF 1399a850946eSmrg 1400a850946eSmrgOptional Features: 140170f7c90cSmrg --disable-option-checking ignore unrecognized --enable/--with options 1402a850946eSmrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1403a850946eSmrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 140470f7c90cSmrg --enable-maintainer-mode enable make rules and dependencies not useful 140570f7c90cSmrg (and sometimes confusing) to the casual installer 140670f7c90cSmrg --disable-dependency-tracking speeds up one-time build 140770f7c90cSmrg --enable-dependency-tracking do not reject slow dependency extractors 140870f7c90cSmrg --enable-silent-rules less verbose build output (undo: `make V=1') 140970f7c90cSmrg --disable-silent-rules verbose build output (undo: `make V=0') 141070f7c90cSmrg --enable-strict-compilation 141170f7c90cSmrg Enable all warnings from compiler and make them 141270f7c90cSmrg errors (default: disabled) 1413a850946eSmrg 1414a850946eSmrgOptional Packages: 1415a850946eSmrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1416a850946eSmrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1417a850946eSmrg --with-release-version=STRING 1418a850946eSmrg Use release version string in package name 1419a850946eSmrg 1420a850946eSmrgSome influential environment variables: 1421a850946eSmrg CC C compiler command 1422a850946eSmrg CFLAGS C compiler flags 1423a850946eSmrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1424a850946eSmrg nonstandard directory <lib dir> 142570f7c90cSmrg LIBS libraries to pass to the linker, e.g. -l<library> 142670f7c90cSmrg CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 142770f7c90cSmrg you have headers in a nonstandard directory <include dir> 142870f7c90cSmrg CPP C preprocessor 1429a850946eSmrg PKG_CONFIG path to pkg-config utility 1430a850946eSmrg XLSCLIENTS_CFLAGS 1431a850946eSmrg C compiler flags for XLSCLIENTS, overriding pkg-config 1432a850946eSmrg XLSCLIENTS_LIBS 1433a850946eSmrg linker flags for XLSCLIENTS, overriding pkg-config 1434a850946eSmrg 1435a850946eSmrgUse these variables to override the choices made by `configure' or to help 1436a850946eSmrgit to find libraries and programs with nonstandard names/locations. 1437a850946eSmrg 1438a850946eSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1439a850946eSmrg_ACEOF 144070f7c90cSmrgac_status=$? 1441a850946eSmrgfi 1442a850946eSmrg 1443a850946eSmrgif test "$ac_init_help" = "recursive"; then 1444a850946eSmrg # If there are subdirs, report their specific --help. 1445a850946eSmrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 144670f7c90cSmrg test -d "$ac_dir" || 144770f7c90cSmrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 144870f7c90cSmrg continue 1449a850946eSmrg ac_builddir=. 1450a850946eSmrg 145170f7c90cSmrgcase "$ac_dir" in 145270f7c90cSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 145370f7c90cSmrg*) 145470f7c90cSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 145570f7c90cSmrg # A ".." for each directory in $ac_dir_suffix. 145670f7c90cSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 145770f7c90cSmrg case $ac_top_builddir_sub in 145870f7c90cSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 145970f7c90cSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 146070f7c90cSmrg esac ;; 146170f7c90cSmrgesac 146270f7c90cSmrgac_abs_top_builddir=$ac_pwd 146370f7c90cSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 146470f7c90cSmrg# for backward compatibility: 146570f7c90cSmrgac_top_builddir=$ac_top_build_prefix 1466a850946eSmrg 1467a850946eSmrgcase $srcdir in 146870f7c90cSmrg .) # We are building in place. 1469a850946eSmrg ac_srcdir=. 147070f7c90cSmrg ac_top_srcdir=$ac_top_builddir_sub 147170f7c90cSmrg ac_abs_top_srcdir=$ac_pwd ;; 147270f7c90cSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 1473a850946eSmrg ac_srcdir=$srcdir$ac_dir_suffix; 147470f7c90cSmrg ac_top_srcdir=$srcdir 147570f7c90cSmrg ac_abs_top_srcdir=$srcdir ;; 147670f7c90cSmrg *) # Relative name. 147770f7c90cSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 147870f7c90cSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 147970f7c90cSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1480a850946eSmrgesac 148170f7c90cSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 148270f7c90cSmrg 148370f7c90cSmrg cd "$ac_dir" || { ac_status=$?; continue; } 148470f7c90cSmrg # Check for guested configure. 148570f7c90cSmrg if test -f "$ac_srcdir/configure.gnu"; then 148670f7c90cSmrg echo && 148770f7c90cSmrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 148870f7c90cSmrg elif test -f "$ac_srcdir/configure"; then 148970f7c90cSmrg echo && 149070f7c90cSmrg $SHELL "$ac_srcdir/configure" --help=recursive 1491a850946eSmrg else 149270f7c90cSmrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 149370f7c90cSmrg fi || ac_status=$? 149470f7c90cSmrg cd "$ac_pwd" || { ac_status=$?; break; } 1495a850946eSmrg done 1496a850946eSmrgfi 1497a850946eSmrg 149870f7c90cSmrgtest -n "$ac_init_help" && exit $ac_status 1499a850946eSmrgif $ac_init_version; then 1500a850946eSmrg cat <<\_ACEOF 150170f7c90cSmrgxlsclients configure 1.0.2 150270f7c90cSmrggenerated by GNU Autoconf 2.63 1503a850946eSmrg 150470f7c90cSmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 150570f7c90cSmrg2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1506a850946eSmrgThis configure script is free software; the Free Software Foundation 1507a850946eSmrggives unlimited permission to copy, distribute and modify it. 1508a850946eSmrg_ACEOF 150970f7c90cSmrg exit 1510a850946eSmrgfi 151170f7c90cSmrgcat >config.log <<_ACEOF 1512a850946eSmrgThis file contains any messages produced by compilers while 1513a850946eSmrgrunning configure, to aid debugging if configure makes a mistake. 1514a850946eSmrg 151570f7c90cSmrgIt was created by xlsclients $as_me 1.0.2, which was 151670f7c90cSmrggenerated by GNU Autoconf 2.63. Invocation command line was 1517a850946eSmrg 1518a850946eSmrg $ $0 $@ 1519a850946eSmrg 1520a850946eSmrg_ACEOF 152170f7c90cSmrgexec 5>>config.log 1522a850946eSmrg{ 1523a850946eSmrgcat <<_ASUNAME 1524a850946eSmrg## --------- ## 1525a850946eSmrg## Platform. ## 1526a850946eSmrg## --------- ## 1527a850946eSmrg 1528a850946eSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1529a850946eSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 1530a850946eSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 1531a850946eSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 1532a850946eSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 1533a850946eSmrg 1534a850946eSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1535a850946eSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1536a850946eSmrg 1537a850946eSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1538a850946eSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1539a850946eSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 154070f7c90cSmrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1541a850946eSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1542a850946eSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1543a850946eSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1544a850946eSmrg 1545a850946eSmrg_ASUNAME 1546a850946eSmrg 1547a850946eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1548a850946eSmrgfor as_dir in $PATH 1549a850946eSmrgdo 1550a850946eSmrg IFS=$as_save_IFS 1551a850946eSmrg test -z "$as_dir" && as_dir=. 155270f7c90cSmrg $as_echo "PATH: $as_dir" 1553a850946eSmrgdone 155470f7c90cSmrgIFS=$as_save_IFS 1555a850946eSmrg 1556a850946eSmrg} >&5 1557a850946eSmrg 1558a850946eSmrgcat >&5 <<_ACEOF 1559a850946eSmrg 1560a850946eSmrg 1561a850946eSmrg## ----------- ## 1562a850946eSmrg## Core tests. ## 1563a850946eSmrg## ----------- ## 1564a850946eSmrg 1565a850946eSmrg_ACEOF 1566a850946eSmrg 1567a850946eSmrg 1568a850946eSmrg# Keep a trace of the command line. 1569a850946eSmrg# Strip out --no-create and --no-recursion so they do not pile up. 1570a850946eSmrg# Strip out --silent because we don't want to record it for future runs. 1571a850946eSmrg# Also quote any args containing shell meta-characters. 1572a850946eSmrg# Make two passes to allow for proper duplicate-argument suppression. 1573a850946eSmrgac_configure_args= 1574a850946eSmrgac_configure_args0= 1575a850946eSmrgac_configure_args1= 1576a850946eSmrgac_must_keep_next=false 1577a850946eSmrgfor ac_pass in 1 2 1578a850946eSmrgdo 1579a850946eSmrg for ac_arg 1580a850946eSmrg do 1581a850946eSmrg case $ac_arg in 1582a850946eSmrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1583a850946eSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1584a850946eSmrg | -silent | --silent | --silen | --sile | --sil) 1585a850946eSmrg continue ;; 158670f7c90cSmrg *\'*) 158770f7c90cSmrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1588a850946eSmrg esac 1589a850946eSmrg case $ac_pass in 1590a850946eSmrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1591a850946eSmrg 2) 1592a850946eSmrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1593a850946eSmrg if test $ac_must_keep_next = true; then 1594a850946eSmrg ac_must_keep_next=false # Got value, back to normal. 1595a850946eSmrg else 1596a850946eSmrg case $ac_arg in 1597a850946eSmrg *=* | --config-cache | -C | -disable-* | --disable-* \ 1598a850946eSmrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1599a850946eSmrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1600a850946eSmrg | -with-* | --with-* | -without-* | --without-* | --x) 1601a850946eSmrg case "$ac_configure_args0 " in 1602a850946eSmrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1603a850946eSmrg esac 1604a850946eSmrg ;; 1605a850946eSmrg -* ) ac_must_keep_next=true ;; 1606a850946eSmrg esac 1607a850946eSmrg fi 160870f7c90cSmrg ac_configure_args="$ac_configure_args '$ac_arg'" 1609a850946eSmrg ;; 1610a850946eSmrg esac 1611a850946eSmrg done 1612a850946eSmrgdone 1613a850946eSmrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1614a850946eSmrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1615a850946eSmrg 1616a850946eSmrg# When interrupted or exit'd, cleanup temporary files, and complete 1617a850946eSmrg# config.log. We remove comments because anyway the quotes in there 1618a850946eSmrg# would cause problems or look ugly. 161970f7c90cSmrg# WARNING: Use '\'' to represent an apostrophe within the trap. 162070f7c90cSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1621a850946eSmrgtrap 'exit_status=$? 1622a850946eSmrg # Save into config.log some information that might help in debugging. 1623a850946eSmrg { 1624a850946eSmrg echo 1625a850946eSmrg 1626a850946eSmrg cat <<\_ASBOX 1627a850946eSmrg## ---------------- ## 1628a850946eSmrg## Cache variables. ## 1629a850946eSmrg## ---------------- ## 1630a850946eSmrg_ASBOX 1631a850946eSmrg echo 1632a850946eSmrg # The following way of writing the cache mishandles newlines in values, 163370f7c90cSmrg( 163470f7c90cSmrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 163570f7c90cSmrg eval ac_val=\$$ac_var 163670f7c90cSmrg case $ac_val in #( 163770f7c90cSmrg *${as_nl}*) 163870f7c90cSmrg case $ac_var in #( 163970f7c90cSmrg *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 164070f7c90cSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 164170f7c90cSmrg esac 164270f7c90cSmrg case $ac_var in #( 164370f7c90cSmrg _ | IFS | as_nl) ;; #( 164470f7c90cSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 164570f7c90cSmrg *) $as_unset $ac_var ;; 164670f7c90cSmrg esac ;; 164770f7c90cSmrg esac 164870f7c90cSmrg done 1649a850946eSmrg (set) 2>&1 | 165070f7c90cSmrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 165170f7c90cSmrg *${as_nl}ac_space=\ *) 1652a850946eSmrg sed -n \ 165370f7c90cSmrg "s/'\''/'\''\\\\'\'''\''/g; 165470f7c90cSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 165570f7c90cSmrg ;; #( 1656a850946eSmrg *) 165770f7c90cSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1658a850946eSmrg ;; 165970f7c90cSmrg esac | 166070f7c90cSmrg sort 166170f7c90cSmrg) 1662a850946eSmrg echo 1663a850946eSmrg 1664a850946eSmrg cat <<\_ASBOX 1665a850946eSmrg## ----------------- ## 1666a850946eSmrg## Output variables. ## 1667a850946eSmrg## ----------------- ## 1668a850946eSmrg_ASBOX 1669a850946eSmrg echo 1670a850946eSmrg for ac_var in $ac_subst_vars 1671a850946eSmrg do 167270f7c90cSmrg eval ac_val=\$$ac_var 167370f7c90cSmrg case $ac_val in 167470f7c90cSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 167570f7c90cSmrg esac 167670f7c90cSmrg $as_echo "$ac_var='\''$ac_val'\''" 1677a850946eSmrg done | sort 1678a850946eSmrg echo 1679a850946eSmrg 1680a850946eSmrg if test -n "$ac_subst_files"; then 1681a850946eSmrg cat <<\_ASBOX 168270f7c90cSmrg## ------------------- ## 168370f7c90cSmrg## File substitutions. ## 168470f7c90cSmrg## ------------------- ## 1685a850946eSmrg_ASBOX 1686a850946eSmrg echo 1687a850946eSmrg for ac_var in $ac_subst_files 1688a850946eSmrg do 168970f7c90cSmrg eval ac_val=\$$ac_var 169070f7c90cSmrg case $ac_val in 169170f7c90cSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 169270f7c90cSmrg esac 169370f7c90cSmrg $as_echo "$ac_var='\''$ac_val'\''" 1694a850946eSmrg done | sort 1695a850946eSmrg echo 1696a850946eSmrg fi 1697a850946eSmrg 1698a850946eSmrg if test -s confdefs.h; then 1699a850946eSmrg cat <<\_ASBOX 1700a850946eSmrg## ----------- ## 1701a850946eSmrg## confdefs.h. ## 1702a850946eSmrg## ----------- ## 1703a850946eSmrg_ASBOX 1704a850946eSmrg echo 170570f7c90cSmrg cat confdefs.h 1706a850946eSmrg echo 1707a850946eSmrg fi 1708a850946eSmrg test "$ac_signal" != 0 && 170970f7c90cSmrg $as_echo "$as_me: caught signal $ac_signal" 171070f7c90cSmrg $as_echo "$as_me: exit $exit_status" 1711a850946eSmrg } >&5 171270f7c90cSmrg rm -f core *.core core.conftest.* && 171370f7c90cSmrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1714a850946eSmrg exit $exit_status 171570f7c90cSmrg' 0 1716a850946eSmrgfor ac_signal in 1 2 13 15; do 1717a850946eSmrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1718a850946eSmrgdone 1719a850946eSmrgac_signal=0 1720a850946eSmrg 1721a850946eSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 172270f7c90cSmrgrm -f -r conftest* confdefs.h 1723a850946eSmrg 1724a850946eSmrg# Predefined preprocessor variables. 1725a850946eSmrg 1726a850946eSmrgcat >>confdefs.h <<_ACEOF 1727a850946eSmrg#define PACKAGE_NAME "$PACKAGE_NAME" 1728a850946eSmrg_ACEOF 1729a850946eSmrg 1730a850946eSmrg 1731a850946eSmrgcat >>confdefs.h <<_ACEOF 1732a850946eSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1733a850946eSmrg_ACEOF 1734a850946eSmrg 1735a850946eSmrg 1736a850946eSmrgcat >>confdefs.h <<_ACEOF 1737a850946eSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 1738a850946eSmrg_ACEOF 1739a850946eSmrg 1740a850946eSmrg 1741a850946eSmrgcat >>confdefs.h <<_ACEOF 1742a850946eSmrg#define PACKAGE_STRING "$PACKAGE_STRING" 1743a850946eSmrg_ACEOF 1744a850946eSmrg 1745a850946eSmrg 1746a850946eSmrgcat >>confdefs.h <<_ACEOF 1747a850946eSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1748a850946eSmrg_ACEOF 1749a850946eSmrg 1750a850946eSmrg 1751a850946eSmrg# Let the site file select an alternate cache file if it wants to. 175270f7c90cSmrg# Prefer an explicitly selected file to automatically selected ones. 175370f7c90cSmrgac_site_file1=NONE 175470f7c90cSmrgac_site_file2=NONE 175570f7c90cSmrgif test -n "$CONFIG_SITE"; then 175670f7c90cSmrg ac_site_file1=$CONFIG_SITE 175770f7c90cSmrgelif test "x$prefix" != xNONE; then 175870f7c90cSmrg ac_site_file1=$prefix/share/config.site 175970f7c90cSmrg ac_site_file2=$prefix/etc/config.site 176070f7c90cSmrgelse 176170f7c90cSmrg ac_site_file1=$ac_default_prefix/share/config.site 176270f7c90cSmrg ac_site_file2=$ac_default_prefix/etc/config.site 1763a850946eSmrgfi 176470f7c90cSmrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 176570f7c90cSmrgdo 176670f7c90cSmrg test "x$ac_site_file" = xNONE && continue 1767a850946eSmrg if test -r "$ac_site_file"; then 176870f7c90cSmrg { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 176970f7c90cSmrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1770a850946eSmrg sed 's/^/| /' "$ac_site_file" >&5 1771a850946eSmrg . "$ac_site_file" 1772a850946eSmrg fi 1773a850946eSmrgdone 1774a850946eSmrg 1775a850946eSmrgif test -r "$cache_file"; then 1776a850946eSmrg # Some versions of bash will fail to source /dev/null (special 1777a850946eSmrg # files actually), so we avoid doing that. 1778a850946eSmrg if test -f "$cache_file"; then 177970f7c90cSmrg { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 178070f7c90cSmrg$as_echo "$as_me: loading cache $cache_file" >&6;} 1781a850946eSmrg case $cache_file in 178270f7c90cSmrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 178370f7c90cSmrg *) . "./$cache_file";; 1784a850946eSmrg esac 1785a850946eSmrg fi 1786a850946eSmrgelse 178770f7c90cSmrg { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 178870f7c90cSmrg$as_echo "$as_me: creating cache $cache_file" >&6;} 1789a850946eSmrg >$cache_file 1790a850946eSmrgfi 1791a850946eSmrg 1792a850946eSmrg# Check that the precious variables saved in the cache have kept the same 1793a850946eSmrg# value. 1794a850946eSmrgac_cache_corrupted=false 179570f7c90cSmrgfor ac_var in $ac_precious_vars; do 1796a850946eSmrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 1797a850946eSmrg eval ac_new_set=\$ac_env_${ac_var}_set 179870f7c90cSmrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 179970f7c90cSmrg eval ac_new_val=\$ac_env_${ac_var}_value 1800a850946eSmrg case $ac_old_set,$ac_new_set in 1801a850946eSmrg set,) 180270f7c90cSmrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 180370f7c90cSmrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1804a850946eSmrg ac_cache_corrupted=: ;; 1805a850946eSmrg ,set) 180670f7c90cSmrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 180770f7c90cSmrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1808a850946eSmrg ac_cache_corrupted=: ;; 1809a850946eSmrg ,);; 1810a850946eSmrg *) 1811a850946eSmrg if test "x$ac_old_val" != "x$ac_new_val"; then 181270f7c90cSmrg # differences in whitespace do not lead to failure. 181370f7c90cSmrg ac_old_val_w=`echo x $ac_old_val` 181470f7c90cSmrg ac_new_val_w=`echo x $ac_new_val` 181570f7c90cSmrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 181670f7c90cSmrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 181770f7c90cSmrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 181870f7c90cSmrg ac_cache_corrupted=: 181970f7c90cSmrg else 182070f7c90cSmrg { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 182170f7c90cSmrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 182270f7c90cSmrg eval $ac_var=\$ac_old_val 182370f7c90cSmrg fi 182470f7c90cSmrg { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 182570f7c90cSmrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 182670f7c90cSmrg { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 182770f7c90cSmrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1828a850946eSmrg fi;; 1829a850946eSmrg esac 1830a850946eSmrg # Pass precious variables to config.status. 1831a850946eSmrg if test "$ac_new_set" = set; then 1832a850946eSmrg case $ac_new_val in 183370f7c90cSmrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1834a850946eSmrg *) ac_arg=$ac_var=$ac_new_val ;; 1835a850946eSmrg esac 1836a850946eSmrg case " $ac_configure_args " in 1837a850946eSmrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1838a850946eSmrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1839a850946eSmrg esac 1840a850946eSmrg fi 1841a850946eSmrgdone 1842a850946eSmrgif $ac_cache_corrupted; then 184370f7c90cSmrg { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 184470f7c90cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 184570f7c90cSmrg { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 184670f7c90cSmrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 184770f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 184870f7c90cSmrg$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1849a850946eSmrg { (exit 1); exit 1; }; } 1850a850946eSmrgfi 1851a850946eSmrg 1852a850946eSmrg 1853a850946eSmrg 1854a850946eSmrg 1855a850946eSmrg 1856a850946eSmrg 1857a850946eSmrg 1858a850946eSmrg 1859a850946eSmrg 1860a850946eSmrg 1861a850946eSmrg 1862a850946eSmrg 1863a850946eSmrg 1864a850946eSmrg 1865a850946eSmrg 1866a850946eSmrg 1867a850946eSmrg 1868a850946eSmrg 1869a850946eSmrg 1870a850946eSmrg 1871a850946eSmrg 1872a850946eSmrg 1873a850946eSmrg 1874a850946eSmrg 1875a850946eSmrg 187670f7c90cSmrgac_ext=c 187770f7c90cSmrgac_cpp='$CPP $CPPFLAGS' 187870f7c90cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 187970f7c90cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 188070f7c90cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 1881a850946eSmrg 1882a850946eSmrg 188370f7c90cSmrgam__api_version='1.11' 1884a850946eSmrg 1885a850946eSmrgac_aux_dir= 188670f7c90cSmrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 188770f7c90cSmrg if test -f "$ac_dir/install-sh"; then 1888a850946eSmrg ac_aux_dir=$ac_dir 1889a850946eSmrg ac_install_sh="$ac_aux_dir/install-sh -c" 1890a850946eSmrg break 189170f7c90cSmrg elif test -f "$ac_dir/install.sh"; then 1892a850946eSmrg ac_aux_dir=$ac_dir 1893a850946eSmrg ac_install_sh="$ac_aux_dir/install.sh -c" 1894a850946eSmrg break 189570f7c90cSmrg elif test -f "$ac_dir/shtool"; then 1896a850946eSmrg ac_aux_dir=$ac_dir 1897a850946eSmrg ac_install_sh="$ac_aux_dir/shtool install -c" 1898a850946eSmrg break 1899a850946eSmrg fi 1900a850946eSmrgdone 1901a850946eSmrgif test -z "$ac_aux_dir"; then 190270f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 190370f7c90cSmrg$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1904a850946eSmrg { (exit 1); exit 1; }; } 1905a850946eSmrgfi 190670f7c90cSmrg 190770f7c90cSmrg# These three variables are undocumented and unsupported, 190870f7c90cSmrg# and are intended to be withdrawn in a future Autoconf release. 190970f7c90cSmrg# They can cause serious problems if a builder's source tree is in a directory 191070f7c90cSmrg# whose full name contains unusual characters. 191170f7c90cSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 191270f7c90cSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 191370f7c90cSmrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 191470f7c90cSmrg 1915a850946eSmrg 1916a850946eSmrg# Find a good install program. We prefer a C program (faster), 1917a850946eSmrg# so one script is as good as another. But avoid the broken or 1918a850946eSmrg# incompatible versions: 1919a850946eSmrg# SysV /etc/install, /usr/sbin/install 1920a850946eSmrg# SunOS /usr/etc/install 1921a850946eSmrg# IRIX /sbin/install 1922a850946eSmrg# AIX /bin/install 1923a850946eSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 1924a850946eSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1925a850946eSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1926a850946eSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1927a850946eSmrg# OS/2's system install, which has a completely different semantic 1928a850946eSmrg# ./install, which can be erroneously created by make from ./install.sh. 192970f7c90cSmrg# Reject install programs that cannot install multiple files. 193070f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 193170f7c90cSmrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 1932a850946eSmrgif test -z "$INSTALL"; then 1933a850946eSmrgif test "${ac_cv_path_install+set}" = set; then 193470f7c90cSmrg $as_echo_n "(cached) " >&6 1935a850946eSmrgelse 1936a850946eSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1937a850946eSmrgfor as_dir in $PATH 1938a850946eSmrgdo 1939a850946eSmrg IFS=$as_save_IFS 1940a850946eSmrg test -z "$as_dir" && as_dir=. 1941a850946eSmrg # Account for people who put trailing slashes in PATH elements. 1942a850946eSmrgcase $as_dir/ in 1943a850946eSmrg ./ | .// | /cC/* | \ 1944a850946eSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1945a850946eSmrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1946a850946eSmrg /usr/ucb/* ) ;; 1947a850946eSmrg *) 1948a850946eSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 1949a850946eSmrg # Don't use installbsd from OSF since it installs stuff as root 1950a850946eSmrg # by default. 1951a850946eSmrg for ac_prog in ginstall scoinst install; do 1952a850946eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 195370f7c90cSmrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1954a850946eSmrg if test $ac_prog = install && 1955a850946eSmrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1956a850946eSmrg # AIX install. It has an incompatible calling convention. 1957a850946eSmrg : 1958a850946eSmrg elif test $ac_prog = install && 1959a850946eSmrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1960a850946eSmrg # program-specific install script used by HP pwplus--don't use. 1961a850946eSmrg : 1962a850946eSmrg else 196370f7c90cSmrg rm -rf conftest.one conftest.two conftest.dir 196470f7c90cSmrg echo one > conftest.one 196570f7c90cSmrg echo two > conftest.two 196670f7c90cSmrg mkdir conftest.dir 196770f7c90cSmrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 196870f7c90cSmrg test -s conftest.one && test -s conftest.two && 196970f7c90cSmrg test -s conftest.dir/conftest.one && 197070f7c90cSmrg test -s conftest.dir/conftest.two 197170f7c90cSmrg then 197270f7c90cSmrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 197370f7c90cSmrg break 3 197470f7c90cSmrg fi 1975a850946eSmrg fi 1976a850946eSmrg fi 1977a850946eSmrg done 1978a850946eSmrg done 1979a850946eSmrg ;; 1980a850946eSmrgesac 198170f7c90cSmrg 1982a850946eSmrgdone 198370f7c90cSmrgIFS=$as_save_IFS 1984a850946eSmrg 198570f7c90cSmrgrm -rf conftest.one conftest.two conftest.dir 1986a850946eSmrg 1987a850946eSmrgfi 1988a850946eSmrg if test "${ac_cv_path_install+set}" = set; then 1989a850946eSmrg INSTALL=$ac_cv_path_install 1990a850946eSmrg else 199170f7c90cSmrg # As a last resort, use the slow shell script. Don't cache a 199270f7c90cSmrg # value for INSTALL within a source directory, because that will 1993a850946eSmrg # break other packages using the cache if that directory is 199470f7c90cSmrg # removed, or if the value is a relative name. 1995a850946eSmrg INSTALL=$ac_install_sh 1996a850946eSmrg fi 1997a850946eSmrgfi 199870f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 199970f7c90cSmrg$as_echo "$INSTALL" >&6; } 2000a850946eSmrg 2001a850946eSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2002a850946eSmrg# It thinks the first close brace ends the variable substitution. 2003a850946eSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2004a850946eSmrg 2005a850946eSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2006a850946eSmrg 2007a850946eSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2008a850946eSmrg 200970f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 201070f7c90cSmrg$as_echo_n "checking whether build environment is sane... " >&6; } 2011a850946eSmrg# Just in case 2012a850946eSmrgsleep 1 2013a850946eSmrgecho timestamp > conftest.file 201470f7c90cSmrg# Reject unsafe characters in $srcdir or the absolute working directory 201570f7c90cSmrg# name. Accept space and tab only in the latter. 201670f7c90cSmrgam_lf=' 201770f7c90cSmrg' 201870f7c90cSmrgcase `pwd` in 201970f7c90cSmrg *[\\\"\#\$\&\'\`$am_lf]*) 202070f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 202170f7c90cSmrg$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} 202270f7c90cSmrg { (exit 1); exit 1; }; };; 202370f7c90cSmrgesac 202470f7c90cSmrgcase $srcdir in 202570f7c90cSmrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 202670f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 202770f7c90cSmrg$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} 202870f7c90cSmrg { (exit 1); exit 1; }; };; 202970f7c90cSmrgesac 203070f7c90cSmrg 2031a850946eSmrg# Do `set' in a subshell so we don't clobber the current shell's 2032a850946eSmrg# arguments. Must try -L first in case configure is actually a 2033a850946eSmrg# symlink; some systems play weird games with the mod time of symlinks 2034a850946eSmrg# (eg FreeBSD returns the mod time of the symlink's containing 2035a850946eSmrg# directory). 2036a850946eSmrgif ( 203770f7c90cSmrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2038a850946eSmrg if test "$*" = "X"; then 2039a850946eSmrg # -L didn't work. 204070f7c90cSmrg set X `ls -t "$srcdir/configure" conftest.file` 2041a850946eSmrg fi 2042a850946eSmrg rm -f conftest.file 2043a850946eSmrg if test "$*" != "X $srcdir/configure conftest.file" \ 2044a850946eSmrg && test "$*" != "X conftest.file $srcdir/configure"; then 2045a850946eSmrg 2046a850946eSmrg # If neither matched, then we have a broken ls. This can happen 2047a850946eSmrg # if, for instance, CONFIG_SHELL is bash and it inherits a 2048a850946eSmrg # broken ls alias from the environment. This has actually 2049a850946eSmrg # happened. Such a system could not be considered "sane". 205070f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2051a850946eSmrgalias in your environment" >&5 205270f7c90cSmrg$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2053a850946eSmrgalias in your environment" >&2;} 2054a850946eSmrg { (exit 1); exit 1; }; } 2055a850946eSmrg fi 2056a850946eSmrg 2057a850946eSmrg test "$2" = conftest.file 2058a850946eSmrg ) 2059a850946eSmrgthen 2060a850946eSmrg # Ok. 2061a850946eSmrg : 2062a850946eSmrgelse 206370f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2064a850946eSmrgCheck your system clock" >&5 206570f7c90cSmrg$as_echo "$as_me: error: newly created file is older than distributed files! 2066a850946eSmrgCheck your system clock" >&2;} 2067a850946eSmrg { (exit 1); exit 1; }; } 2068a850946eSmrgfi 206970f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: yes" >&5 207070f7c90cSmrg$as_echo "yes" >&6; } 2071a850946eSmrgtest "$program_prefix" != NONE && 207270f7c90cSmrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 2073a850946eSmrg# Use a double $ so make ignores it. 2074a850946eSmrgtest "$program_suffix" != NONE && 207570f7c90cSmrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 207670f7c90cSmrg# Double any \ or $. 2077a850946eSmrg# By default was `s,x,x', remove it if useless. 207870f7c90cSmrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 207970f7c90cSmrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2080a850946eSmrg 2081a850946eSmrg# expand $ac_aux_dir to an absolute path 2082a850946eSmrgam_aux_dir=`cd $ac_aux_dir && pwd` 2083a850946eSmrg 208470f7c90cSmrgif test x"${MISSING+set}" != xset; then 208570f7c90cSmrg case $am_aux_dir in 208670f7c90cSmrg *\ * | *\ *) 208770f7c90cSmrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 208870f7c90cSmrg *) 208970f7c90cSmrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 209070f7c90cSmrg esac 209170f7c90cSmrgfi 2092a850946eSmrg# Use eval to expand $SHELL 2093a850946eSmrgif eval "$MISSING --run true"; then 2094a850946eSmrg am_missing_run="$MISSING --run " 2095a850946eSmrgelse 2096a850946eSmrg am_missing_run= 209770f7c90cSmrg { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 209870f7c90cSmrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 209970f7c90cSmrgfi 210070f7c90cSmrg 210170f7c90cSmrgif test x"${install_sh}" != xset; then 210270f7c90cSmrg case $am_aux_dir in 210370f7c90cSmrg *\ * | *\ *) 210470f7c90cSmrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 210570f7c90cSmrg *) 210670f7c90cSmrg install_sh="\${SHELL} $am_aux_dir/install-sh" 210770f7c90cSmrg esac 210870f7c90cSmrgfi 210970f7c90cSmrg 211070f7c90cSmrg# Installed binaries are usually stripped using `strip' when the user 211170f7c90cSmrg# run `make install-strip'. However `strip' might not be the right 211270f7c90cSmrg# tool to use in cross-compilation environments, therefore Automake 211370f7c90cSmrg# will honor the `STRIP' environment variable to overrule this program. 211470f7c90cSmrgif test "$cross_compiling" != no; then 211570f7c90cSmrg if test -n "$ac_tool_prefix"; then 211670f7c90cSmrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 211770f7c90cSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2 211870f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 211970f7c90cSmrg$as_echo_n "checking for $ac_word... " >&6; } 212070f7c90cSmrgif test "${ac_cv_prog_STRIP+set}" = set; then 212170f7c90cSmrg $as_echo_n "(cached) " >&6 212270f7c90cSmrgelse 212370f7c90cSmrg if test -n "$STRIP"; then 212470f7c90cSmrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 212570f7c90cSmrgelse 212670f7c90cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 212770f7c90cSmrgfor as_dir in $PATH 212870f7c90cSmrgdo 212970f7c90cSmrg IFS=$as_save_IFS 213070f7c90cSmrg test -z "$as_dir" && as_dir=. 213170f7c90cSmrg for ac_exec_ext in '' $ac_executable_extensions; do 213270f7c90cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 213370f7c90cSmrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 213470f7c90cSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 213570f7c90cSmrg break 2 213670f7c90cSmrg fi 213770f7c90cSmrgdone 213870f7c90cSmrgdone 213970f7c90cSmrgIFS=$as_save_IFS 214070f7c90cSmrg 214170f7c90cSmrgfi 214270f7c90cSmrgfi 214370f7c90cSmrgSTRIP=$ac_cv_prog_STRIP 214470f7c90cSmrgif test -n "$STRIP"; then 214570f7c90cSmrg { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 214670f7c90cSmrg$as_echo "$STRIP" >&6; } 214770f7c90cSmrgelse 214870f7c90cSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 214970f7c90cSmrg$as_echo "no" >&6; } 215070f7c90cSmrgfi 215170f7c90cSmrg 215270f7c90cSmrg 215370f7c90cSmrgfi 215470f7c90cSmrgif test -z "$ac_cv_prog_STRIP"; then 215570f7c90cSmrg ac_ct_STRIP=$STRIP 215670f7c90cSmrg # Extract the first word of "strip", so it can be a program name with args. 215770f7c90cSmrgset dummy strip; ac_word=$2 215870f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 215970f7c90cSmrg$as_echo_n "checking for $ac_word... " >&6; } 216070f7c90cSmrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 216170f7c90cSmrg $as_echo_n "(cached) " >&6 216270f7c90cSmrgelse 216370f7c90cSmrg if test -n "$ac_ct_STRIP"; then 216470f7c90cSmrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 216570f7c90cSmrgelse 216670f7c90cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 216770f7c90cSmrgfor as_dir in $PATH 216870f7c90cSmrgdo 216970f7c90cSmrg IFS=$as_save_IFS 217070f7c90cSmrg test -z "$as_dir" && as_dir=. 217170f7c90cSmrg for ac_exec_ext in '' $ac_executable_extensions; do 217270f7c90cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 217370f7c90cSmrg ac_cv_prog_ac_ct_STRIP="strip" 217470f7c90cSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 217570f7c90cSmrg break 2 217670f7c90cSmrg fi 217770f7c90cSmrgdone 217870f7c90cSmrgdone 217970f7c90cSmrgIFS=$as_save_IFS 218070f7c90cSmrg 218170f7c90cSmrgfi 218270f7c90cSmrgfi 218370f7c90cSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 218470f7c90cSmrgif test -n "$ac_ct_STRIP"; then 218570f7c90cSmrg { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 218670f7c90cSmrg$as_echo "$ac_ct_STRIP" >&6; } 218770f7c90cSmrgelse 218870f7c90cSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 218970f7c90cSmrg$as_echo "no" >&6; } 219070f7c90cSmrgfi 219170f7c90cSmrg 219270f7c90cSmrg if test "x$ac_ct_STRIP" = x; then 219370f7c90cSmrg STRIP=":" 219470f7c90cSmrg else 219570f7c90cSmrg case $cross_compiling:$ac_tool_warned in 219670f7c90cSmrgyes:) 219770f7c90cSmrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 219870f7c90cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 219970f7c90cSmrgac_tool_warned=yes ;; 220070f7c90cSmrgesac 220170f7c90cSmrg STRIP=$ac_ct_STRIP 220270f7c90cSmrg fi 220370f7c90cSmrgelse 220470f7c90cSmrg STRIP="$ac_cv_prog_STRIP" 220570f7c90cSmrgfi 220670f7c90cSmrg 220770f7c90cSmrgfi 220870f7c90cSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 220970f7c90cSmrg 221070f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 221170f7c90cSmrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 221270f7c90cSmrgif test -z "$MKDIR_P"; then 221370f7c90cSmrg if test "${ac_cv_path_mkdir+set}" = set; then 221470f7c90cSmrg $as_echo_n "(cached) " >&6 221570f7c90cSmrgelse 221670f7c90cSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 221770f7c90cSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 221870f7c90cSmrgdo 221970f7c90cSmrg IFS=$as_save_IFS 222070f7c90cSmrg test -z "$as_dir" && as_dir=. 222170f7c90cSmrg for ac_prog in mkdir gmkdir; do 222270f7c90cSmrg for ac_exec_ext in '' $ac_executable_extensions; do 222370f7c90cSmrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 222470f7c90cSmrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 222570f7c90cSmrg 'mkdir (GNU coreutils) '* | \ 222670f7c90cSmrg 'mkdir (coreutils) '* | \ 222770f7c90cSmrg 'mkdir (fileutils) '4.1*) 222870f7c90cSmrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 222970f7c90cSmrg break 3;; 223070f7c90cSmrg esac 223170f7c90cSmrg done 223270f7c90cSmrg done 223370f7c90cSmrgdone 223470f7c90cSmrgIFS=$as_save_IFS 223570f7c90cSmrg 223670f7c90cSmrgfi 223770f7c90cSmrg 223870f7c90cSmrg if test "${ac_cv_path_mkdir+set}" = set; then 223970f7c90cSmrg MKDIR_P="$ac_cv_path_mkdir -p" 224070f7c90cSmrg else 224170f7c90cSmrg # As a last resort, use the slow shell script. Don't cache a 224270f7c90cSmrg # value for MKDIR_P within a source directory, because that will 224370f7c90cSmrg # break other packages using the cache if that directory is 224470f7c90cSmrg # removed, or if the value is a relative name. 224570f7c90cSmrg test -d ./--version && rmdir ./--version 224670f7c90cSmrg MKDIR_P="$ac_install_sh -d" 224770f7c90cSmrg fi 2248a850946eSmrgfi 224970f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 225070f7c90cSmrg$as_echo "$MKDIR_P" >&6; } 225170f7c90cSmrg 225270f7c90cSmrgmkdir_p="$MKDIR_P" 225370f7c90cSmrgcase $mkdir_p in 225470f7c90cSmrg [\\/$]* | ?:[\\/]*) ;; 225570f7c90cSmrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 225670f7c90cSmrgesac 2257a850946eSmrg 2258a850946eSmrgfor ac_prog in gawk mawk nawk awk 2259a850946eSmrgdo 2260a850946eSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2261a850946eSmrgset dummy $ac_prog; ac_word=$2 226270f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 226370f7c90cSmrg$as_echo_n "checking for $ac_word... " >&6; } 2264a850946eSmrgif test "${ac_cv_prog_AWK+set}" = set; then 226570f7c90cSmrg $as_echo_n "(cached) " >&6 2266a850946eSmrgelse 2267a850946eSmrg if test -n "$AWK"; then 2268a850946eSmrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 2269a850946eSmrgelse 2270a850946eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2271a850946eSmrgfor as_dir in $PATH 2272a850946eSmrgdo 2273a850946eSmrg IFS=$as_save_IFS 2274a850946eSmrg test -z "$as_dir" && as_dir=. 2275a850946eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 227670f7c90cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2277a850946eSmrg ac_cv_prog_AWK="$ac_prog" 227870f7c90cSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2279a850946eSmrg break 2 2280a850946eSmrg fi 2281a850946eSmrgdone 2282a850946eSmrgdone 228370f7c90cSmrgIFS=$as_save_IFS 2284a850946eSmrg 2285a850946eSmrgfi 2286a850946eSmrgfi 2287a850946eSmrgAWK=$ac_cv_prog_AWK 2288a850946eSmrgif test -n "$AWK"; then 228970f7c90cSmrg { $as_echo "$as_me:$LINENO: result: $AWK" >&5 229070f7c90cSmrg$as_echo "$AWK" >&6; } 2291a850946eSmrgelse 229270f7c90cSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 229370f7c90cSmrg$as_echo "no" >&6; } 2294a850946eSmrgfi 2295a850946eSmrg 229670f7c90cSmrg 2297a850946eSmrg test -n "$AWK" && break 2298a850946eSmrgdone 2299a850946eSmrg 230070f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 230170f7c90cSmrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 230270f7c90cSmrgset x ${MAKE-make} 230370f7c90cSmrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 230470f7c90cSmrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 230570f7c90cSmrg $as_echo_n "(cached) " >&6 2306a850946eSmrgelse 2307a850946eSmrg cat >conftest.make <<\_ACEOF 230870f7c90cSmrgSHELL = /bin/sh 2309a850946eSmrgall: 231070f7c90cSmrg @echo '@@@%%%=$(MAKE)=@@@%%%' 2311a850946eSmrg_ACEOF 2312a850946eSmrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 231370f7c90cSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 231470f7c90cSmrg *@@@%%%=?*=@@@%%%*) 231570f7c90cSmrg eval ac_cv_prog_make_${ac_make}_set=yes;; 231670f7c90cSmrg *) 231770f7c90cSmrg eval ac_cv_prog_make_${ac_make}_set=no;; 231870f7c90cSmrgesac 2319a850946eSmrgrm -f conftest.make 2320a850946eSmrgfi 232170f7c90cSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 232270f7c90cSmrg { $as_echo "$as_me:$LINENO: result: yes" >&5 232370f7c90cSmrg$as_echo "yes" >&6; } 2324a850946eSmrg SET_MAKE= 2325a850946eSmrgelse 232670f7c90cSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 232770f7c90cSmrg$as_echo "no" >&6; } 2328a850946eSmrg SET_MAKE="MAKE=${MAKE-make}" 2329a850946eSmrgfi 2330a850946eSmrg 2331a850946eSmrgrm -rf .tst 2>/dev/null 2332a850946eSmrgmkdir .tst 2>/dev/null 2333a850946eSmrgif test -d .tst; then 2334a850946eSmrg am__leading_dot=. 2335a850946eSmrgelse 2336a850946eSmrg am__leading_dot=_ 2337a850946eSmrgfi 2338a850946eSmrgrmdir .tst 2>/dev/null 2339a850946eSmrg 234070f7c90cSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 234170f7c90cSmrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 234270f7c90cSmrg # is not polluted with repeated "-I." 234370f7c90cSmrg am__isrc=' -I$(srcdir)' 234470f7c90cSmrg # test to see if srcdir already configured 234570f7c90cSmrg if test -f $srcdir/config.status; then 234670f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 234770f7c90cSmrg$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2348a850946eSmrg { (exit 1); exit 1; }; } 234970f7c90cSmrg fi 2350a850946eSmrgfi 2351a850946eSmrg 2352a850946eSmrg# test whether we have cygpath 2353a850946eSmrgif test -z "$CYGPATH_W"; then 2354a850946eSmrg if (cygpath --version) >/dev/null 2>/dev/null; then 2355a850946eSmrg CYGPATH_W='cygpath -w' 2356a850946eSmrg else 2357a850946eSmrg CYGPATH_W=echo 2358a850946eSmrg fi 2359a850946eSmrgfi 2360a850946eSmrg 2361a850946eSmrg 2362a850946eSmrg# Define the identity of the package. 2363a850946eSmrg PACKAGE='xlsclients' 236470f7c90cSmrg VERSION='1.0.2' 2365a850946eSmrg 2366a850946eSmrg 2367a850946eSmrgcat >>confdefs.h <<_ACEOF 2368a850946eSmrg#define PACKAGE "$PACKAGE" 2369a850946eSmrg_ACEOF 2370a850946eSmrg 2371a850946eSmrg 2372a850946eSmrgcat >>confdefs.h <<_ACEOF 2373a850946eSmrg#define VERSION "$VERSION" 2374a850946eSmrg_ACEOF 2375a850946eSmrg 2376a850946eSmrg# Some tools Automake needs. 2377a850946eSmrg 2378a850946eSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2379a850946eSmrg 2380a850946eSmrg 2381a850946eSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2382a850946eSmrg 2383a850946eSmrg 2384a850946eSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2385a850946eSmrg 2386a850946eSmrg 2387a850946eSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2388a850946eSmrg 2389a850946eSmrg 2390a850946eSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2391a850946eSmrg 239270f7c90cSmrg# We need awk for the "check" target. The system "awk" is bad on 239370f7c90cSmrg# some platforms. 239470f7c90cSmrg# Always define AMTAR for backward compatibility. 2395a850946eSmrg 2396a850946eSmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 2397a850946eSmrg 239870f7c90cSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2399a850946eSmrg 2400a850946eSmrg 2401a850946eSmrg 2402a850946eSmrg 2403a850946eSmrg 2404a850946eSmrg 240570f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 240670f7c90cSmrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 240770f7c90cSmrg # Check whether --enable-maintainer-mode was given. 2408a850946eSmrgif test "${enable_maintainer_mode+set}" = set; then 240970f7c90cSmrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2410a850946eSmrgelse 2411a850946eSmrg USE_MAINTAINER_MODE=no 241270f7c90cSmrgfi 2413a850946eSmrg 241470f7c90cSmrg { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 241570f7c90cSmrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 241670f7c90cSmrg if test $USE_MAINTAINER_MODE = yes; then 2417a850946eSmrg MAINTAINER_MODE_TRUE= 2418a850946eSmrg MAINTAINER_MODE_FALSE='#' 2419a850946eSmrgelse 2420a850946eSmrg MAINTAINER_MODE_TRUE='#' 2421a850946eSmrg MAINTAINER_MODE_FALSE= 2422a850946eSmrgfi 2423a850946eSmrg 2424a850946eSmrg MAINT=$MAINTAINER_MODE_TRUE 2425a850946eSmrg 2426a850946eSmrg 2427a850946eSmrg 242870f7c90cSmrg# Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS 2429a850946eSmrg 2430a850946eSmrg 243170f7c90cSmrg 243270f7c90cSmrg 243370f7c90cSmrg 243470f7c90cSmrg 243570f7c90cSmrg 243670f7c90cSmrg 243770f7c90cSmrg 243870f7c90cSmrg 243970f7c90cSmrg 244070f7c90cSmrg 244170f7c90cSmrgac_config_headers="$ac_config_headers config.h" 244270f7c90cSmrg 244370f7c90cSmrg 244470f7c90cSmrgac_ext=c 244570f7c90cSmrgac_cpp='$CPP $CPPFLAGS' 244670f7c90cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2447a850946eSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2448a850946eSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2449a850946eSmrgif test -n "$ac_tool_prefix"; then 2450a850946eSmrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2451a850946eSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 245270f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 245370f7c90cSmrg$as_echo_n "checking for $ac_word... " >&6; } 2454a850946eSmrgif test "${ac_cv_prog_CC+set}" = set; then 245570f7c90cSmrg $as_echo_n "(cached) " >&6 2456a850946eSmrgelse 2457a850946eSmrg if test -n "$CC"; then 2458a850946eSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2459a850946eSmrgelse 2460a850946eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2461a850946eSmrgfor as_dir in $PATH 2462a850946eSmrgdo 2463a850946eSmrg IFS=$as_save_IFS 2464a850946eSmrg test -z "$as_dir" && as_dir=. 2465a850946eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 246670f7c90cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2467a850946eSmrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 246870f7c90cSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2469a850946eSmrg break 2 2470a850946eSmrg fi 2471a850946eSmrgdone 2472a850946eSmrgdone 247370f7c90cSmrgIFS=$as_save_IFS 2474a850946eSmrg 2475a850946eSmrgfi 2476a850946eSmrgfi 2477a850946eSmrgCC=$ac_cv_prog_CC 2478a850946eSmrgif test -n "$CC"; then 247970f7c90cSmrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 248070f7c90cSmrg$as_echo "$CC" >&6; } 2481a850946eSmrgelse 248270f7c90cSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 248370f7c90cSmrg$as_echo "no" >&6; } 2484a850946eSmrgfi 2485a850946eSmrg 248670f7c90cSmrg 2487a850946eSmrgfi 2488a850946eSmrgif test -z "$ac_cv_prog_CC"; then 2489a850946eSmrg ac_ct_CC=$CC 2490a850946eSmrg # Extract the first word of "gcc", so it can be a program name with args. 2491a850946eSmrgset dummy gcc; ac_word=$2 249270f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 249370f7c90cSmrg$as_echo_n "checking for $ac_word... " >&6; } 2494a850946eSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 249570f7c90cSmrg $as_echo_n "(cached) " >&6 2496a850946eSmrgelse 2497a850946eSmrg if test -n "$ac_ct_CC"; then 2498a850946eSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2499a850946eSmrgelse 2500a850946eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2501a850946eSmrgfor as_dir in $PATH 2502a850946eSmrgdo 2503a850946eSmrg IFS=$as_save_IFS 2504a850946eSmrg test -z "$as_dir" && as_dir=. 2505a850946eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 250670f7c90cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2507a850946eSmrg ac_cv_prog_ac_ct_CC="gcc" 250870f7c90cSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2509a850946eSmrg break 2 2510a850946eSmrg fi 2511a850946eSmrgdone 2512a850946eSmrgdone 251370f7c90cSmrgIFS=$as_save_IFS 2514a850946eSmrg 2515a850946eSmrgfi 2516a850946eSmrgfi 2517a850946eSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2518a850946eSmrgif test -n "$ac_ct_CC"; then 251970f7c90cSmrg { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 252070f7c90cSmrg$as_echo "$ac_ct_CC" >&6; } 2521a850946eSmrgelse 252270f7c90cSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 252370f7c90cSmrg$as_echo "no" >&6; } 2524a850946eSmrgfi 2525a850946eSmrg 252670f7c90cSmrg if test "x$ac_ct_CC" = x; then 252770f7c90cSmrg CC="" 252870f7c90cSmrg else 252970f7c90cSmrg case $cross_compiling:$ac_tool_warned in 253070f7c90cSmrgyes:) 253170f7c90cSmrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 253270f7c90cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 253370f7c90cSmrgac_tool_warned=yes ;; 253470f7c90cSmrgesac 253570f7c90cSmrg CC=$ac_ct_CC 253670f7c90cSmrg fi 2537a850946eSmrgelse 2538a850946eSmrg CC="$ac_cv_prog_CC" 2539a850946eSmrgfi 2540a850946eSmrg 2541a850946eSmrgif test -z "$CC"; then 254270f7c90cSmrg if test -n "$ac_tool_prefix"; then 254370f7c90cSmrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2544a850946eSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2 254570f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 254670f7c90cSmrg$as_echo_n "checking for $ac_word... " >&6; } 2547a850946eSmrgif test "${ac_cv_prog_CC+set}" = set; then 254870f7c90cSmrg $as_echo_n "(cached) " >&6 2549a850946eSmrgelse 2550a850946eSmrg if test -n "$CC"; then 2551a850946eSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2552a850946eSmrgelse 2553a850946eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2554a850946eSmrgfor as_dir in $PATH 2555a850946eSmrgdo 2556a850946eSmrg IFS=$as_save_IFS 2557a850946eSmrg test -z "$as_dir" && as_dir=. 2558a850946eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 255970f7c90cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2560a850946eSmrg ac_cv_prog_CC="${ac_tool_prefix}cc" 256170f7c90cSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2562a850946eSmrg break 2 2563a850946eSmrg fi 2564a850946eSmrgdone 2565a850946eSmrgdone 256670f7c90cSmrgIFS=$as_save_IFS 2567a850946eSmrg 2568a850946eSmrgfi 2569a850946eSmrgfi 2570a850946eSmrgCC=$ac_cv_prog_CC 2571a850946eSmrgif test -n "$CC"; then 257270f7c90cSmrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 257370f7c90cSmrg$as_echo "$CC" >&6; } 2574a850946eSmrgelse 257570f7c90cSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 257670f7c90cSmrg$as_echo "no" >&6; } 2577a850946eSmrgfi 2578a850946eSmrg 2579a850946eSmrg 258070f7c90cSmrg fi 2581a850946eSmrgfi 2582a850946eSmrgif test -z "$CC"; then 2583a850946eSmrg # Extract the first word of "cc", so it can be a program name with args. 2584a850946eSmrgset dummy cc; ac_word=$2 258570f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 258670f7c90cSmrg$as_echo_n "checking for $ac_word... " >&6; } 2587a850946eSmrgif test "${ac_cv_prog_CC+set}" = set; then 258870f7c90cSmrg $as_echo_n "(cached) " >&6 2589a850946eSmrgelse 2590a850946eSmrg if test -n "$CC"; then 2591a850946eSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2592a850946eSmrgelse 2593a850946eSmrg ac_prog_rejected=no 2594a850946eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2595a850946eSmrgfor as_dir in $PATH 2596a850946eSmrgdo 2597a850946eSmrg IFS=$as_save_IFS 2598a850946eSmrg test -z "$as_dir" && as_dir=. 2599a850946eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 260070f7c90cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2601a850946eSmrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2602a850946eSmrg ac_prog_rejected=yes 2603a850946eSmrg continue 2604a850946eSmrg fi 2605a850946eSmrg ac_cv_prog_CC="cc" 260670f7c90cSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2607a850946eSmrg break 2 2608a850946eSmrg fi 2609a850946eSmrgdone 2610a850946eSmrgdone 261170f7c90cSmrgIFS=$as_save_IFS 2612a850946eSmrg 2613a850946eSmrgif test $ac_prog_rejected = yes; then 2614a850946eSmrg # We found a bogon in the path, so make sure we never use it. 2615a850946eSmrg set dummy $ac_cv_prog_CC 2616a850946eSmrg shift 2617a850946eSmrg if test $# != 0; then 2618a850946eSmrg # We chose a different compiler from the bogus one. 2619a850946eSmrg # However, it has the same basename, so the bogon will be chosen 2620a850946eSmrg # first if we set CC to just the basename; use the full file name. 2621a850946eSmrg shift 2622a850946eSmrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2623a850946eSmrg fi 2624a850946eSmrgfi 2625a850946eSmrgfi 2626a850946eSmrgfi 2627a850946eSmrgCC=$ac_cv_prog_CC 2628a850946eSmrgif test -n "$CC"; then 262970f7c90cSmrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 263070f7c90cSmrg$as_echo "$CC" >&6; } 2631a850946eSmrgelse 263270f7c90cSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 263370f7c90cSmrg$as_echo "no" >&6; } 2634a850946eSmrgfi 2635a850946eSmrg 263670f7c90cSmrg 2637a850946eSmrgfi 2638a850946eSmrgif test -z "$CC"; then 2639a850946eSmrg if test -n "$ac_tool_prefix"; then 264070f7c90cSmrg for ac_prog in cl.exe 2641a850946eSmrg do 2642a850946eSmrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2643a850946eSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 264470f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 264570f7c90cSmrg$as_echo_n "checking for $ac_word... " >&6; } 2646a850946eSmrgif test "${ac_cv_prog_CC+set}" = set; then 264770f7c90cSmrg $as_echo_n "(cached) " >&6 2648a850946eSmrgelse 2649a850946eSmrg if test -n "$CC"; then 2650a850946eSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2651a850946eSmrgelse 2652a850946eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2653a850946eSmrgfor as_dir in $PATH 2654a850946eSmrgdo 2655a850946eSmrg IFS=$as_save_IFS 2656a850946eSmrg test -z "$as_dir" && as_dir=. 2657a850946eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 265870f7c90cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2659a850946eSmrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 266070f7c90cSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2661a850946eSmrg break 2 2662a850946eSmrg fi 2663a850946eSmrgdone 2664a850946eSmrgdone 266570f7c90cSmrgIFS=$as_save_IFS 2666a850946eSmrg 2667a850946eSmrgfi 2668a850946eSmrgfi 2669a850946eSmrgCC=$ac_cv_prog_CC 2670a850946eSmrgif test -n "$CC"; then 267170f7c90cSmrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 267270f7c90cSmrg$as_echo "$CC" >&6; } 2673a850946eSmrgelse 267470f7c90cSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 267570f7c90cSmrg$as_echo "no" >&6; } 2676a850946eSmrgfi 2677a850946eSmrg 267870f7c90cSmrg 2679a850946eSmrg test -n "$CC" && break 2680a850946eSmrg done 2681a850946eSmrgfi 2682a850946eSmrgif test -z "$CC"; then 2683a850946eSmrg ac_ct_CC=$CC 268470f7c90cSmrg for ac_prog in cl.exe 2685a850946eSmrgdo 2686a850946eSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2687a850946eSmrgset dummy $ac_prog; ac_word=$2 268870f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 268970f7c90cSmrg$as_echo_n "checking for $ac_word... " >&6; } 2690a850946eSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 269170f7c90cSmrg $as_echo_n "(cached) " >&6 2692a850946eSmrgelse 2693a850946eSmrg if test -n "$ac_ct_CC"; then 2694a850946eSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2695a850946eSmrgelse 2696a850946eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2697a850946eSmrgfor as_dir in $PATH 2698a850946eSmrgdo 2699a850946eSmrg IFS=$as_save_IFS 2700a850946eSmrg test -z "$as_dir" && as_dir=. 2701a850946eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 270270f7c90cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2703a850946eSmrg ac_cv_prog_ac_ct_CC="$ac_prog" 270470f7c90cSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2705a850946eSmrg break 2 2706a850946eSmrg fi 2707a850946eSmrgdone 2708a850946eSmrgdone 270970f7c90cSmrgIFS=$as_save_IFS 2710a850946eSmrg 2711a850946eSmrgfi 2712a850946eSmrgfi 2713a850946eSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2714a850946eSmrgif test -n "$ac_ct_CC"; then 271570f7c90cSmrg { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 271670f7c90cSmrg$as_echo "$ac_ct_CC" >&6; } 2717a850946eSmrgelse 271870f7c90cSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 271970f7c90cSmrg$as_echo "no" >&6; } 2720a850946eSmrgfi 2721a850946eSmrg 272270f7c90cSmrg 2723a850946eSmrg test -n "$ac_ct_CC" && break 2724a850946eSmrgdone 2725a850946eSmrg 272670f7c90cSmrg if test "x$ac_ct_CC" = x; then 272770f7c90cSmrg CC="" 272870f7c90cSmrg else 272970f7c90cSmrg case $cross_compiling:$ac_tool_warned in 273070f7c90cSmrgyes:) 273170f7c90cSmrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 273270f7c90cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 273370f7c90cSmrgac_tool_warned=yes ;; 273470f7c90cSmrgesac 273570f7c90cSmrg CC=$ac_ct_CC 273670f7c90cSmrg fi 2737a850946eSmrgfi 2738a850946eSmrg 2739a850946eSmrgfi 2740a850946eSmrg 2741a850946eSmrg 274270f7c90cSmrgtest -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 274370f7c90cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 274470f7c90cSmrg{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2745a850946eSmrgSee \`config.log' for more details." >&5 274670f7c90cSmrg$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2747a850946eSmrgSee \`config.log' for more details." >&2;} 274870f7c90cSmrg { (exit 1); exit 1; }; }; } 2749a850946eSmrg 2750a850946eSmrg# Provide some information about the compiler. 275170f7c90cSmrg$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 275270f7c90cSmrgset X $ac_compile 275370f7c90cSmrgac_compiler=$2 275470f7c90cSmrg{ (ac_try="$ac_compiler --version >&5" 275570f7c90cSmrgcase "(($ac_try" in 275670f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 275770f7c90cSmrg *) ac_try_echo=$ac_try;; 275870f7c90cSmrgesac 275970f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 276070f7c90cSmrg$as_echo "$ac_try_echo") >&5 276170f7c90cSmrg (eval "$ac_compiler --version >&5") 2>&5 2762a850946eSmrg ac_status=$? 276370f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2764a850946eSmrg (exit $ac_status); } 276570f7c90cSmrg{ (ac_try="$ac_compiler -v >&5" 276670f7c90cSmrgcase "(($ac_try" in 276770f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 276870f7c90cSmrg *) ac_try_echo=$ac_try;; 276970f7c90cSmrgesac 277070f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 277170f7c90cSmrg$as_echo "$ac_try_echo") >&5 277270f7c90cSmrg (eval "$ac_compiler -v >&5") 2>&5 2773a850946eSmrg ac_status=$? 277470f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2775a850946eSmrg (exit $ac_status); } 277670f7c90cSmrg{ (ac_try="$ac_compiler -V >&5" 277770f7c90cSmrgcase "(($ac_try" in 277870f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 277970f7c90cSmrg *) ac_try_echo=$ac_try;; 278070f7c90cSmrgesac 278170f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 278270f7c90cSmrg$as_echo "$ac_try_echo") >&5 278370f7c90cSmrg (eval "$ac_compiler -V >&5") 2>&5 2784a850946eSmrg ac_status=$? 278570f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2786a850946eSmrg (exit $ac_status); } 2787a850946eSmrg 2788a850946eSmrgcat >conftest.$ac_ext <<_ACEOF 2789a850946eSmrg/* confdefs.h. */ 2790a850946eSmrg_ACEOF 2791a850946eSmrgcat confdefs.h >>conftest.$ac_ext 2792a850946eSmrgcat >>conftest.$ac_ext <<_ACEOF 2793a850946eSmrg/* end confdefs.h. */ 2794a850946eSmrg 2795a850946eSmrgint 2796a850946eSmrgmain () 2797a850946eSmrg{ 2798a850946eSmrg 2799a850946eSmrg ; 2800a850946eSmrg return 0; 2801a850946eSmrg} 2802a850946eSmrg_ACEOF 2803a850946eSmrgac_clean_files_save=$ac_clean_files 280470f7c90cSmrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2805a850946eSmrg# Try to create an executable without -o first, disregard a.out. 2806a850946eSmrg# It will help us diagnose broken compilers, and finding out an intuition 2807a850946eSmrg# of exeext. 280870f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 280970f7c90cSmrg$as_echo_n "checking for C compiler default output file name... " >&6; } 281070f7c90cSmrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 281170f7c90cSmrg 281270f7c90cSmrg# The possible output files: 281370f7c90cSmrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 281470f7c90cSmrg 281570f7c90cSmrgac_rmfiles= 281670f7c90cSmrgfor ac_file in $ac_files 281770f7c90cSmrgdo 281870f7c90cSmrg case $ac_file in 281970f7c90cSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 282070f7c90cSmrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 282170f7c90cSmrg esac 282270f7c90cSmrgdone 282370f7c90cSmrgrm -f $ac_rmfiles 282470f7c90cSmrg 282570f7c90cSmrgif { (ac_try="$ac_link_default" 282670f7c90cSmrgcase "(($ac_try" in 282770f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 282870f7c90cSmrg *) ac_try_echo=$ac_try;; 282970f7c90cSmrgesac 283070f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 283170f7c90cSmrg$as_echo "$ac_try_echo") >&5 283270f7c90cSmrg (eval "$ac_link_default") 2>&5 2833a850946eSmrg ac_status=$? 283470f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2835a850946eSmrg (exit $ac_status); }; then 283670f7c90cSmrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 283770f7c90cSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 283870f7c90cSmrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 283970f7c90cSmrg# so that the user can short-circuit this test for compilers unknown to 284070f7c90cSmrg# Autoconf. 284170f7c90cSmrgfor ac_file in $ac_files '' 2842a850946eSmrgdo 2843a850946eSmrg test -f "$ac_file" || continue 2844a850946eSmrg case $ac_file in 284570f7c90cSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2846a850946eSmrg ;; 2847a850946eSmrg [ab].out ) 2848a850946eSmrg # We found the default executable, but exeext='' is most 2849a850946eSmrg # certainly right. 2850a850946eSmrg break;; 2851a850946eSmrg *.* ) 285270f7c90cSmrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 285370f7c90cSmrg then :; else 285470f7c90cSmrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 285570f7c90cSmrg fi 285670f7c90cSmrg # We set ac_cv_exeext here because the later test for it is not 285770f7c90cSmrg # safe: cross compilers may not add the suffix if given an `-o' 285870f7c90cSmrg # argument, so we may need to know it at that point already. 285970f7c90cSmrg # Even if this section looks crufty: it has the advantage of 286070f7c90cSmrg # actually working. 2861a850946eSmrg break;; 2862a850946eSmrg * ) 2863a850946eSmrg break;; 2864a850946eSmrg esac 2865a850946eSmrgdone 286670f7c90cSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 286770f7c90cSmrg 2868a850946eSmrgelse 286970f7c90cSmrg ac_file='' 287070f7c90cSmrgfi 287170f7c90cSmrg 287270f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 287370f7c90cSmrg$as_echo "$ac_file" >&6; } 287470f7c90cSmrgif test -z "$ac_file"; then 287570f7c90cSmrg $as_echo "$as_me: failed program was:" >&5 2876a850946eSmrgsed 's/^/| /' conftest.$ac_ext >&5 2877a850946eSmrg 287870f7c90cSmrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 287970f7c90cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 288070f7c90cSmrg{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2881a850946eSmrgSee \`config.log' for more details." >&5 288270f7c90cSmrg$as_echo "$as_me: error: C compiler cannot create executables 2883a850946eSmrgSee \`config.log' for more details." >&2;} 288470f7c90cSmrg { (exit 77); exit 77; }; }; } 2885a850946eSmrgfi 2886a850946eSmrg 2887a850946eSmrgac_exeext=$ac_cv_exeext 2888a850946eSmrg 288970f7c90cSmrg# Check that the compiler produces executables we can run. If not, either 2890a850946eSmrg# the compiler is broken, or we cross compile. 289170f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 289270f7c90cSmrg$as_echo_n "checking whether the C compiler works... " >&6; } 2893a850946eSmrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2894a850946eSmrg# If not cross compiling, check that we can run a simple program. 2895a850946eSmrgif test "$cross_compiling" != yes; then 2896a850946eSmrg if { ac_try='./$ac_file' 289770f7c90cSmrg { (case "(($ac_try" in 289870f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 289970f7c90cSmrg *) ac_try_echo=$ac_try;; 290070f7c90cSmrgesac 290170f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 290270f7c90cSmrg$as_echo "$ac_try_echo") >&5 290370f7c90cSmrg (eval "$ac_try") 2>&5 2904a850946eSmrg ac_status=$? 290570f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2906a850946eSmrg (exit $ac_status); }; }; then 2907a850946eSmrg cross_compiling=no 2908a850946eSmrg else 2909a850946eSmrg if test "$cross_compiling" = maybe; then 2910a850946eSmrg cross_compiling=yes 2911a850946eSmrg else 291270f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 291370f7c90cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 291470f7c90cSmrg{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2915a850946eSmrgIf you meant to cross compile, use \`--host'. 2916a850946eSmrgSee \`config.log' for more details." >&5 291770f7c90cSmrg$as_echo "$as_me: error: cannot run C compiled programs. 2918a850946eSmrgIf you meant to cross compile, use \`--host'. 2919a850946eSmrgSee \`config.log' for more details." >&2;} 292070f7c90cSmrg { (exit 1); exit 1; }; }; } 2921a850946eSmrg fi 2922a850946eSmrg fi 2923a850946eSmrgfi 292470f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: yes" >&5 292570f7c90cSmrg$as_echo "yes" >&6; } 2926a850946eSmrg 292770f7c90cSmrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2928a850946eSmrgac_clean_files=$ac_clean_files_save 292970f7c90cSmrg# Check that the compiler produces executables we can run. If not, either 2930a850946eSmrg# the compiler is broken, or we cross compile. 293170f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 293270f7c90cSmrg$as_echo_n "checking whether we are cross compiling... " >&6; } 293370f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 293470f7c90cSmrg$as_echo "$cross_compiling" >&6; } 293570f7c90cSmrg 293670f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 293770f7c90cSmrg$as_echo_n "checking for suffix of executables... " >&6; } 293870f7c90cSmrgif { (ac_try="$ac_link" 293970f7c90cSmrgcase "(($ac_try" in 294070f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 294170f7c90cSmrg *) ac_try_echo=$ac_try;; 294270f7c90cSmrgesac 294370f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 294470f7c90cSmrg$as_echo "$ac_try_echo") >&5 294570f7c90cSmrg (eval "$ac_link") 2>&5 2946a850946eSmrg ac_status=$? 294770f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2948a850946eSmrg (exit $ac_status); }; then 2949a850946eSmrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 2950a850946eSmrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2951a850946eSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with 2952a850946eSmrg# `rm'. 2953a850946eSmrgfor ac_file in conftest.exe conftest conftest.*; do 2954a850946eSmrg test -f "$ac_file" || continue 2955a850946eSmrg case $ac_file in 295670f7c90cSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2957a850946eSmrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2958a850946eSmrg break;; 2959a850946eSmrg * ) break;; 2960a850946eSmrg esac 2961a850946eSmrgdone 2962a850946eSmrgelse 296370f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 296470f7c90cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 296570f7c90cSmrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2966a850946eSmrgSee \`config.log' for more details." >&5 296770f7c90cSmrg$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2968a850946eSmrgSee \`config.log' for more details." >&2;} 296970f7c90cSmrg { (exit 1); exit 1; }; }; } 2970a850946eSmrgfi 2971a850946eSmrg 2972a850946eSmrgrm -f conftest$ac_cv_exeext 297370f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 297470f7c90cSmrg$as_echo "$ac_cv_exeext" >&6; } 2975a850946eSmrg 2976a850946eSmrgrm -f conftest.$ac_ext 2977a850946eSmrgEXEEXT=$ac_cv_exeext 2978a850946eSmrgac_exeext=$EXEEXT 297970f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 298070f7c90cSmrg$as_echo_n "checking for suffix of object files... " >&6; } 2981a850946eSmrgif test "${ac_cv_objext+set}" = set; then 298270f7c90cSmrg $as_echo_n "(cached) " >&6 2983a850946eSmrgelse 2984a850946eSmrg cat >conftest.$ac_ext <<_ACEOF 2985a850946eSmrg/* confdefs.h. */ 2986a850946eSmrg_ACEOF 2987a850946eSmrgcat confdefs.h >>conftest.$ac_ext 2988a850946eSmrgcat >>conftest.$ac_ext <<_ACEOF 2989a850946eSmrg/* end confdefs.h. */ 2990a850946eSmrg 2991a850946eSmrgint 2992a850946eSmrgmain () 2993a850946eSmrg{ 2994a850946eSmrg 2995a850946eSmrg ; 2996a850946eSmrg return 0; 2997a850946eSmrg} 2998a850946eSmrg_ACEOF 2999a850946eSmrgrm -f conftest.o conftest.obj 300070f7c90cSmrgif { (ac_try="$ac_compile" 300170f7c90cSmrgcase "(($ac_try" in 300270f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 300370f7c90cSmrg *) ac_try_echo=$ac_try;; 300470f7c90cSmrgesac 300570f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 300670f7c90cSmrg$as_echo "$ac_try_echo") >&5 300770f7c90cSmrg (eval "$ac_compile") 2>&5 3008a850946eSmrg ac_status=$? 300970f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3010a850946eSmrg (exit $ac_status); }; then 301170f7c90cSmrg for ac_file in conftest.o conftest.obj conftest.*; do 301270f7c90cSmrg test -f "$ac_file" || continue; 3013a850946eSmrg case $ac_file in 301470f7c90cSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3015a850946eSmrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3016a850946eSmrg break;; 3017a850946eSmrg esac 3018a850946eSmrgdone 3019a850946eSmrgelse 302070f7c90cSmrg $as_echo "$as_me: failed program was:" >&5 3021a850946eSmrgsed 's/^/| /' conftest.$ac_ext >&5 3022a850946eSmrg 302370f7c90cSmrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 302470f7c90cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 302570f7c90cSmrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3026a850946eSmrgSee \`config.log' for more details." >&5 302770f7c90cSmrg$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 3028a850946eSmrgSee \`config.log' for more details." >&2;} 302970f7c90cSmrg { (exit 1); exit 1; }; }; } 3030a850946eSmrgfi 3031a850946eSmrg 3032a850946eSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 3033a850946eSmrgfi 303470f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 303570f7c90cSmrg$as_echo "$ac_cv_objext" >&6; } 3036a850946eSmrgOBJEXT=$ac_cv_objext 3037a850946eSmrgac_objext=$OBJEXT 303870f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 303970f7c90cSmrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3040a850946eSmrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 304170f7c90cSmrg $as_echo_n "(cached) " >&6 3042a850946eSmrgelse 3043a850946eSmrg cat >conftest.$ac_ext <<_ACEOF 3044a850946eSmrg/* confdefs.h. */ 3045a850946eSmrg_ACEOF 3046a850946eSmrgcat confdefs.h >>conftest.$ac_ext 3047a850946eSmrgcat >>conftest.$ac_ext <<_ACEOF 3048a850946eSmrg/* end confdefs.h. */ 3049a850946eSmrg 3050a850946eSmrgint 3051a850946eSmrgmain () 3052a850946eSmrg{ 3053a850946eSmrg#ifndef __GNUC__ 3054a850946eSmrg choke me 3055a850946eSmrg#endif 3056a850946eSmrg 3057a850946eSmrg ; 3058a850946eSmrg return 0; 3059a850946eSmrg} 3060a850946eSmrg_ACEOF 3061a850946eSmrgrm -f conftest.$ac_objext 306270f7c90cSmrgif { (ac_try="$ac_compile" 306370f7c90cSmrgcase "(($ac_try" in 306470f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 306570f7c90cSmrg *) ac_try_echo=$ac_try;; 306670f7c90cSmrgesac 306770f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 306870f7c90cSmrg$as_echo "$ac_try_echo") >&5 306970f7c90cSmrg (eval "$ac_compile") 2>conftest.er1 3070a850946eSmrg ac_status=$? 3071a850946eSmrg grep -v '^ *+' conftest.er1 >conftest.err 3072a850946eSmrg rm -f conftest.er1 3073a850946eSmrg cat conftest.err >&5 307470f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 307570f7c90cSmrg (exit $ac_status); } && { 307670f7c90cSmrg test -z "$ac_c_werror_flag" || 307770f7c90cSmrg test ! -s conftest.err 307870f7c90cSmrg } && test -s conftest.$ac_objext; then 3079a850946eSmrg ac_compiler_gnu=yes 3080a850946eSmrgelse 308170f7c90cSmrg $as_echo "$as_me: failed program was:" >&5 3082a850946eSmrgsed 's/^/| /' conftest.$ac_ext >&5 3083a850946eSmrg 308470f7c90cSmrg ac_compiler_gnu=no 3085a850946eSmrgfi 308670f7c90cSmrg 308770f7c90cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3088a850946eSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu 3089a850946eSmrg 3090a850946eSmrgfi 309170f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 309270f7c90cSmrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 309370f7c90cSmrgif test $ac_compiler_gnu = yes; then 309470f7c90cSmrg GCC=yes 309570f7c90cSmrgelse 309670f7c90cSmrg GCC= 309770f7c90cSmrgfi 3098a850946eSmrgac_test_CFLAGS=${CFLAGS+set} 3099a850946eSmrgac_save_CFLAGS=$CFLAGS 310070f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 310170f7c90cSmrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 3102a850946eSmrgif test "${ac_cv_prog_cc_g+set}" = set; then 310370f7c90cSmrg $as_echo_n "(cached) " >&6 3104a850946eSmrgelse 310570f7c90cSmrg ac_save_c_werror_flag=$ac_c_werror_flag 310670f7c90cSmrg ac_c_werror_flag=yes 310770f7c90cSmrg ac_cv_prog_cc_g=no 310870f7c90cSmrg CFLAGS="-g" 310970f7c90cSmrg cat >conftest.$ac_ext <<_ACEOF 3110a850946eSmrg/* confdefs.h. */ 3111a850946eSmrg_ACEOF 3112a850946eSmrgcat confdefs.h >>conftest.$ac_ext 3113a850946eSmrgcat >>conftest.$ac_ext <<_ACEOF 3114a850946eSmrg/* end confdefs.h. */ 3115a850946eSmrg 3116a850946eSmrgint 3117a850946eSmrgmain () 3118a850946eSmrg{ 3119a850946eSmrg 3120a850946eSmrg ; 3121a850946eSmrg return 0; 3122a850946eSmrg} 3123a850946eSmrg_ACEOF 3124a850946eSmrgrm -f conftest.$ac_objext 312570f7c90cSmrgif { (ac_try="$ac_compile" 312670f7c90cSmrgcase "(($ac_try" in 312770f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 312870f7c90cSmrg *) ac_try_echo=$ac_try;; 312970f7c90cSmrgesac 313070f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 313170f7c90cSmrg$as_echo "$ac_try_echo") >&5 313270f7c90cSmrg (eval "$ac_compile") 2>conftest.er1 3133a850946eSmrg ac_status=$? 3134a850946eSmrg grep -v '^ *+' conftest.er1 >conftest.err 3135a850946eSmrg rm -f conftest.er1 3136a850946eSmrg cat conftest.err >&5 313770f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 313870f7c90cSmrg (exit $ac_status); } && { 313970f7c90cSmrg test -z "$ac_c_werror_flag" || 314070f7c90cSmrg test ! -s conftest.err 314170f7c90cSmrg } && test -s conftest.$ac_objext; then 314270f7c90cSmrg ac_cv_prog_cc_g=yes 314370f7c90cSmrgelse 314470f7c90cSmrg $as_echo "$as_me: failed program was:" >&5 314570f7c90cSmrgsed 's/^/| /' conftest.$ac_ext >&5 314670f7c90cSmrg 314770f7c90cSmrg CFLAGS="" 314870f7c90cSmrg cat >conftest.$ac_ext <<_ACEOF 314970f7c90cSmrg/* confdefs.h. */ 315070f7c90cSmrg_ACEOF 315170f7c90cSmrgcat confdefs.h >>conftest.$ac_ext 315270f7c90cSmrgcat >>conftest.$ac_ext <<_ACEOF 315370f7c90cSmrg/* end confdefs.h. */ 315470f7c90cSmrg 315570f7c90cSmrgint 315670f7c90cSmrgmain () 315770f7c90cSmrg{ 315870f7c90cSmrg 315970f7c90cSmrg ; 316070f7c90cSmrg return 0; 316170f7c90cSmrg} 316270f7c90cSmrg_ACEOF 316370f7c90cSmrgrm -f conftest.$ac_objext 316470f7c90cSmrgif { (ac_try="$ac_compile" 316570f7c90cSmrgcase "(($ac_try" in 316670f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 316770f7c90cSmrg *) ac_try_echo=$ac_try;; 316870f7c90cSmrgesac 316970f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 317070f7c90cSmrg$as_echo "$ac_try_echo") >&5 317170f7c90cSmrg (eval "$ac_compile") 2>conftest.er1 3172a850946eSmrg ac_status=$? 317370f7c90cSmrg grep -v '^ *+' conftest.er1 >conftest.err 317470f7c90cSmrg rm -f conftest.er1 317570f7c90cSmrg cat conftest.err >&5 317670f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 317770f7c90cSmrg (exit $ac_status); } && { 317870f7c90cSmrg test -z "$ac_c_werror_flag" || 317970f7c90cSmrg test ! -s conftest.err 318070f7c90cSmrg } && test -s conftest.$ac_objext; then 318170f7c90cSmrg : 318270f7c90cSmrgelse 318370f7c90cSmrg $as_echo "$as_me: failed program was:" >&5 318470f7c90cSmrgsed 's/^/| /' conftest.$ac_ext >&5 318570f7c90cSmrg 318670f7c90cSmrg ac_c_werror_flag=$ac_save_c_werror_flag 318770f7c90cSmrg CFLAGS="-g" 318870f7c90cSmrg cat >conftest.$ac_ext <<_ACEOF 318970f7c90cSmrg/* confdefs.h. */ 319070f7c90cSmrg_ACEOF 319170f7c90cSmrgcat confdefs.h >>conftest.$ac_ext 319270f7c90cSmrgcat >>conftest.$ac_ext <<_ACEOF 319370f7c90cSmrg/* end confdefs.h. */ 319470f7c90cSmrg 319570f7c90cSmrgint 319670f7c90cSmrgmain () 319770f7c90cSmrg{ 319870f7c90cSmrg 319970f7c90cSmrg ; 320070f7c90cSmrg return 0; 320170f7c90cSmrg} 320270f7c90cSmrg_ACEOF 320370f7c90cSmrgrm -f conftest.$ac_objext 320470f7c90cSmrgif { (ac_try="$ac_compile" 320570f7c90cSmrgcase "(($ac_try" in 320670f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 320770f7c90cSmrg *) ac_try_echo=$ac_try;; 320870f7c90cSmrgesac 320970f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 321070f7c90cSmrg$as_echo "$ac_try_echo") >&5 321170f7c90cSmrg (eval "$ac_compile") 2>conftest.er1 3212a850946eSmrg ac_status=$? 321370f7c90cSmrg grep -v '^ *+' conftest.er1 >conftest.err 321470f7c90cSmrg rm -f conftest.er1 321570f7c90cSmrg cat conftest.err >&5 321670f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 321770f7c90cSmrg (exit $ac_status); } && { 321870f7c90cSmrg test -z "$ac_c_werror_flag" || 321970f7c90cSmrg test ! -s conftest.err 322070f7c90cSmrg } && test -s conftest.$ac_objext; then 3221a850946eSmrg ac_cv_prog_cc_g=yes 3222a850946eSmrgelse 322370f7c90cSmrg $as_echo "$as_me: failed program was:" >&5 3224a850946eSmrgsed 's/^/| /' conftest.$ac_ext >&5 3225a850946eSmrg 322670f7c90cSmrg 322770f7c90cSmrgfi 322870f7c90cSmrg 322970f7c90cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3230a850946eSmrgfi 323170f7c90cSmrg 323270f7c90cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 323370f7c90cSmrgfi 323470f7c90cSmrg 323570f7c90cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 323670f7c90cSmrg ac_c_werror_flag=$ac_save_c_werror_flag 3237a850946eSmrgfi 323870f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 323970f7c90cSmrg$as_echo "$ac_cv_prog_cc_g" >&6; } 3240a850946eSmrgif test "$ac_test_CFLAGS" = set; then 3241a850946eSmrg CFLAGS=$ac_save_CFLAGS 3242a850946eSmrgelif test $ac_cv_prog_cc_g = yes; then 3243a850946eSmrg if test "$GCC" = yes; then 3244a850946eSmrg CFLAGS="-g -O2" 3245a850946eSmrg else 3246a850946eSmrg CFLAGS="-g" 3247a850946eSmrg fi 3248a850946eSmrgelse 3249a850946eSmrg if test "$GCC" = yes; then 3250a850946eSmrg CFLAGS="-O2" 3251a850946eSmrg else 3252a850946eSmrg CFLAGS= 3253a850946eSmrg fi 3254a850946eSmrgfi 325570f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 325670f7c90cSmrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 325770f7c90cSmrgif test "${ac_cv_prog_cc_c89+set}" = set; then 325870f7c90cSmrg $as_echo_n "(cached) " >&6 3259a850946eSmrgelse 326070f7c90cSmrg ac_cv_prog_cc_c89=no 3261a850946eSmrgac_save_CC=$CC 3262a850946eSmrgcat >conftest.$ac_ext <<_ACEOF 3263a850946eSmrg/* confdefs.h. */ 3264a850946eSmrg_ACEOF 3265a850946eSmrgcat confdefs.h >>conftest.$ac_ext 3266a850946eSmrgcat >>conftest.$ac_ext <<_ACEOF 3267a850946eSmrg/* end confdefs.h. */ 3268a850946eSmrg#include <stdarg.h> 3269a850946eSmrg#include <stdio.h> 3270a850946eSmrg#include <sys/types.h> 3271a850946eSmrg#include <sys/stat.h> 3272a850946eSmrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3273a850946eSmrgstruct buf { int x; }; 3274a850946eSmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 3275a850946eSmrgstatic char *e (p, i) 3276a850946eSmrg char **p; 3277a850946eSmrg int i; 3278a850946eSmrg{ 3279a850946eSmrg return p[i]; 3280a850946eSmrg} 3281a850946eSmrgstatic char *f (char * (*g) (char **, int), char **p, ...) 3282a850946eSmrg{ 3283a850946eSmrg char *s; 3284a850946eSmrg va_list v; 3285a850946eSmrg va_start (v,p); 3286a850946eSmrg s = g (p, va_arg (v,int)); 3287a850946eSmrg va_end (v); 3288a850946eSmrg return s; 3289a850946eSmrg} 3290a850946eSmrg 3291a850946eSmrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3292a850946eSmrg function prototypes and stuff, but not '\xHH' hex character constants. 3293a850946eSmrg These don't provoke an error unfortunately, instead are silently treated 329470f7c90cSmrg as 'x'. The following induces an error, until -std is added to get 3295a850946eSmrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3296a850946eSmrg array size at least. It's necessary to write '\x00'==0 to get something 329770f7c90cSmrg that's true only with -std. */ 3298a850946eSmrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3299a850946eSmrg 330070f7c90cSmrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 330170f7c90cSmrg inside strings and character constants. */ 330270f7c90cSmrg#define FOO(x) 'x' 330370f7c90cSmrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 330470f7c90cSmrg 3305a850946eSmrgint test (int i, double x); 3306a850946eSmrgstruct s1 {int (*f) (int a);}; 3307a850946eSmrgstruct s2 {int (*f) (double a);}; 3308a850946eSmrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3309a850946eSmrgint argc; 3310a850946eSmrgchar **argv; 3311a850946eSmrgint 3312a850946eSmrgmain () 3313a850946eSmrg{ 3314a850946eSmrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3315a850946eSmrg ; 3316a850946eSmrg return 0; 3317a850946eSmrg} 3318a850946eSmrg_ACEOF 331970f7c90cSmrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 332070f7c90cSmrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3321a850946eSmrgdo 3322a850946eSmrg CC="$ac_save_CC $ac_arg" 3323a850946eSmrg rm -f conftest.$ac_objext 332470f7c90cSmrgif { (ac_try="$ac_compile" 332570f7c90cSmrgcase "(($ac_try" in 332670f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 332770f7c90cSmrg *) ac_try_echo=$ac_try;; 332870f7c90cSmrgesac 332970f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 333070f7c90cSmrg$as_echo "$ac_try_echo") >&5 333170f7c90cSmrg (eval "$ac_compile") 2>conftest.er1 3332a850946eSmrg ac_status=$? 3333a850946eSmrg grep -v '^ *+' conftest.er1 >conftest.err 3334a850946eSmrg rm -f conftest.er1 3335a850946eSmrg cat conftest.err >&5 333670f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 333770f7c90cSmrg (exit $ac_status); } && { 333870f7c90cSmrg test -z "$ac_c_werror_flag" || 333970f7c90cSmrg test ! -s conftest.err 334070f7c90cSmrg } && test -s conftest.$ac_objext; then 334170f7c90cSmrg ac_cv_prog_cc_c89=$ac_arg 3342a850946eSmrgelse 334370f7c90cSmrg $as_echo "$as_me: failed program was:" >&5 3344a850946eSmrgsed 's/^/| /' conftest.$ac_ext >&5 3345a850946eSmrg 334670f7c90cSmrg 3347a850946eSmrgfi 334870f7c90cSmrg 334970f7c90cSmrgrm -f core conftest.err conftest.$ac_objext 335070f7c90cSmrg test "x$ac_cv_prog_cc_c89" != "xno" && break 3351a850946eSmrgdone 335270f7c90cSmrgrm -f conftest.$ac_ext 3353a850946eSmrgCC=$ac_save_CC 3354a850946eSmrg 3355a850946eSmrgfi 335670f7c90cSmrg# AC_CACHE_VAL 335770f7c90cSmrgcase "x$ac_cv_prog_cc_c89" in 335870f7c90cSmrg x) 335970f7c90cSmrg { $as_echo "$as_me:$LINENO: result: none needed" >&5 336070f7c90cSmrg$as_echo "none needed" >&6; } ;; 336170f7c90cSmrg xno) 336270f7c90cSmrg { $as_echo "$as_me:$LINENO: result: unsupported" >&5 336370f7c90cSmrg$as_echo "unsupported" >&6; } ;; 3364a850946eSmrg *) 336570f7c90cSmrg CC="$CC $ac_cv_prog_cc_c89" 336670f7c90cSmrg { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 336770f7c90cSmrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3368a850946eSmrgesac 3369a850946eSmrg 3370a850946eSmrg 3371a850946eSmrgac_ext=c 3372a850946eSmrgac_cpp='$CPP $CPPFLAGS' 3373a850946eSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3374a850946eSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3375a850946eSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3376a850946eSmrgDEPDIR="${am__leading_dot}deps" 3377a850946eSmrg 337870f7c90cSmrgac_config_commands="$ac_config_commands depfiles" 3379a850946eSmrg 3380a850946eSmrg 3381a850946eSmrgam_make=${MAKE-make} 3382a850946eSmrgcat > confinc << 'END' 3383a850946eSmrgam__doit: 338470f7c90cSmrg @echo this is the am__doit target 3385a850946eSmrg.PHONY: am__doit 3386a850946eSmrgEND 3387a850946eSmrg# If we don't find an include directive, just comment out the code. 338870f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 338970f7c90cSmrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 3390a850946eSmrgam__include="#" 3391a850946eSmrgam__quote= 3392a850946eSmrg_am_result=none 3393a850946eSmrg# First try GNU make style include. 3394a850946eSmrgecho "include confinc" > confmf 339570f7c90cSmrg# Ignore all kinds of additional output from `make'. 339670f7c90cSmrgcase `$am_make -s -f confmf 2> /dev/null` in #( 339770f7c90cSmrg*the\ am__doit\ target*) 339870f7c90cSmrg am__include=include 339970f7c90cSmrg am__quote= 340070f7c90cSmrg _am_result=GNU 340170f7c90cSmrg ;; 340270f7c90cSmrgesac 3403a850946eSmrg# Now try BSD make style include. 3404a850946eSmrgif test "$am__include" = "#"; then 3405a850946eSmrg echo '.include "confinc"' > confmf 340670f7c90cSmrg case `$am_make -s -f confmf 2> /dev/null` in #( 340770f7c90cSmrg *the\ am__doit\ target*) 340870f7c90cSmrg am__include=.include 340970f7c90cSmrg am__quote="\"" 341070f7c90cSmrg _am_result=BSD 341170f7c90cSmrg ;; 341270f7c90cSmrg esac 3413a850946eSmrgfi 3414a850946eSmrg 3415a850946eSmrg 341670f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 341770f7c90cSmrg$as_echo "$_am_result" >&6; } 3418a850946eSmrgrm -f confinc confmf 3419a850946eSmrg 342070f7c90cSmrg# Check whether --enable-dependency-tracking was given. 3421a850946eSmrgif test "${enable_dependency_tracking+set}" = set; then 342270f7c90cSmrg enableval=$enable_dependency_tracking; 342370f7c90cSmrgfi 3424a850946eSmrg 3425a850946eSmrgif test "x$enable_dependency_tracking" != xno; then 3426a850946eSmrg am_depcomp="$ac_aux_dir/depcomp" 3427a850946eSmrg AMDEPBACKSLASH='\' 3428a850946eSmrgfi 342970f7c90cSmrg if test "x$enable_dependency_tracking" != xno; then 3430a850946eSmrg AMDEP_TRUE= 3431a850946eSmrg AMDEP_FALSE='#' 3432a850946eSmrgelse 3433a850946eSmrg AMDEP_TRUE='#' 3434a850946eSmrg AMDEP_FALSE= 3435a850946eSmrgfi 3436a850946eSmrg 3437a850946eSmrg 3438a850946eSmrg 3439a850946eSmrgdepcc="$CC" am_compiler_list= 3440a850946eSmrg 344170f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 344270f7c90cSmrg$as_echo_n "checking dependency style of $depcc... " >&6; } 3443a850946eSmrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 344470f7c90cSmrg $as_echo_n "(cached) " >&6 3445a850946eSmrgelse 3446a850946eSmrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3447a850946eSmrg # We make a subdir and do the tests there. Otherwise we can end up 3448a850946eSmrg # making bogus files that we don't know about and never remove. For 3449a850946eSmrg # instance it was reported that on HP-UX the gcc test will end up 3450a850946eSmrg # making a dummy file named `D' -- because `-MD' means `put the output 3451a850946eSmrg # in D'. 3452a850946eSmrg mkdir conftest.dir 3453a850946eSmrg # Copy depcomp to subdir because otherwise we won't find it if we're 3454a850946eSmrg # using a relative directory. 3455a850946eSmrg cp "$am_depcomp" conftest.dir 3456a850946eSmrg cd conftest.dir 3457a850946eSmrg # We will build objects and dependencies in a subdirectory because 3458a850946eSmrg # it helps to detect inapplicable dependency modes. For instance 3459a850946eSmrg # both Tru64's cc and ICC support -MD to output dependencies as a 3460a850946eSmrg # side effect of compilation, but ICC will put the dependencies in 3461a850946eSmrg # the current directory while Tru64 will put them in the object 3462a850946eSmrg # directory. 3463a850946eSmrg mkdir sub 3464a850946eSmrg 3465a850946eSmrg am_cv_CC_dependencies_compiler_type=none 3466a850946eSmrg if test "$am_compiler_list" = ""; then 3467a850946eSmrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3468a850946eSmrg fi 346970f7c90cSmrg am__universal=false 347070f7c90cSmrg case " $depcc " in #( 347170f7c90cSmrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 347270f7c90cSmrg esac 347370f7c90cSmrg 3474a850946eSmrg for depmode in $am_compiler_list; do 3475a850946eSmrg # Setup a source with many dependencies, because some compilers 3476a850946eSmrg # like to wrap large dependency lists on column 80 (with \), and 3477a850946eSmrg # we should not choose a depcomp mode which is confused by this. 3478a850946eSmrg # 3479a850946eSmrg # We need to recreate these files for each test, as the compiler may 3480a850946eSmrg # overwrite some of them when testing with obscure command lines. 3481a850946eSmrg # This happens at least with the AIX C compiler. 3482a850946eSmrg : > sub/conftest.c 3483a850946eSmrg for i in 1 2 3 4 5 6; do 3484a850946eSmrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 348570f7c90cSmrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 348670f7c90cSmrg # Solaris 8's {/usr,}/bin/sh. 348770f7c90cSmrg touch sub/conftst$i.h 3488a850946eSmrg done 3489a850946eSmrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3490a850946eSmrg 349170f7c90cSmrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 349270f7c90cSmrg # mode. It turns out that the SunPro C++ compiler does not properly 349370f7c90cSmrg # handle `-M -o', and we need to detect this. Also, some Intel 349470f7c90cSmrg # versions had trouble with output in subdirs 349570f7c90cSmrg am__obj=sub/conftest.${OBJEXT-o} 349670f7c90cSmrg am__minus_obj="-o $am__obj" 3497a850946eSmrg case $depmode in 349870f7c90cSmrg gcc) 349970f7c90cSmrg # This depmode causes a compiler race in universal mode. 350070f7c90cSmrg test "$am__universal" = false || continue 350170f7c90cSmrg ;; 3502a850946eSmrg nosideeffect) 3503a850946eSmrg # after this tag, mechanisms are not by side-effect, so they'll 3504a850946eSmrg # only be used when explicitly requested 3505a850946eSmrg if test "x$enable_dependency_tracking" = xyes; then 3506a850946eSmrg continue 3507a850946eSmrg else 3508a850946eSmrg break 3509a850946eSmrg fi 3510a850946eSmrg ;; 351170f7c90cSmrg msvisualcpp | msvcmsys) 351270f7c90cSmrg # This compiler won't grok `-c -o', but also, the minuso test has 351370f7c90cSmrg # not run yet. These depmodes are late enough in the game, and 351470f7c90cSmrg # so weak that their functioning should not be impacted. 351570f7c90cSmrg am__obj=conftest.${OBJEXT-o} 351670f7c90cSmrg am__minus_obj= 351770f7c90cSmrg ;; 3518a850946eSmrg none) break ;; 3519a850946eSmrg esac 3520a850946eSmrg if depmode=$depmode \ 352170f7c90cSmrg source=sub/conftest.c object=$am__obj \ 3522a850946eSmrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 352370f7c90cSmrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3524a850946eSmrg >/dev/null 2>conftest.err && 352570f7c90cSmrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3526a850946eSmrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 352770f7c90cSmrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3528a850946eSmrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3529a850946eSmrg # icc doesn't choke on unknown options, it will just issue warnings 353070f7c90cSmrg # or remarks (even with -Werror). So we grep stderr for any message 353170f7c90cSmrg # that says an option was ignored or not supported. 353270f7c90cSmrg # When given -MP, icc 7.0 and 7.1 complain thusly: 353370f7c90cSmrg # icc: Command line warning: ignoring option '-M'; no argument required 353470f7c90cSmrg # The diagnosis changed in icc 8.0: 353570f7c90cSmrg # icc: Command line remark: option '-MP' not supported 353670f7c90cSmrg if (grep 'ignoring option' conftest.err || 353770f7c90cSmrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3538a850946eSmrg am_cv_CC_dependencies_compiler_type=$depmode 3539a850946eSmrg break 3540a850946eSmrg fi 3541a850946eSmrg fi 3542a850946eSmrg done 3543a850946eSmrg 3544a850946eSmrg cd .. 3545a850946eSmrg rm -rf conftest.dir 3546a850946eSmrgelse 3547a850946eSmrg am_cv_CC_dependencies_compiler_type=none 3548a850946eSmrgfi 3549a850946eSmrg 3550a850946eSmrgfi 355170f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 355270f7c90cSmrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3553a850946eSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3554a850946eSmrg 355570f7c90cSmrg if 3556a850946eSmrg test "x$enable_dependency_tracking" != xno \ 3557a850946eSmrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3558a850946eSmrg am__fastdepCC_TRUE= 3559a850946eSmrg am__fastdepCC_FALSE='#' 3560a850946eSmrgelse 3561a850946eSmrg am__fastdepCC_TRUE='#' 3562a850946eSmrg am__fastdepCC_FALSE= 3563a850946eSmrgfi 3564a850946eSmrg 3565a850946eSmrg 3566a850946eSmrg# Find a good install program. We prefer a C program (faster), 3567a850946eSmrg# so one script is as good as another. But avoid the broken or 3568a850946eSmrg# incompatible versions: 3569a850946eSmrg# SysV /etc/install, /usr/sbin/install 3570a850946eSmrg# SunOS /usr/etc/install 3571a850946eSmrg# IRIX /sbin/install 3572a850946eSmrg# AIX /bin/install 3573a850946eSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 3574a850946eSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3575a850946eSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3576a850946eSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3577a850946eSmrg# OS/2's system install, which has a completely different semantic 3578a850946eSmrg# ./install, which can be erroneously created by make from ./install.sh. 357970f7c90cSmrg# Reject install programs that cannot install multiple files. 358070f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 358170f7c90cSmrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 3582a850946eSmrgif test -z "$INSTALL"; then 3583a850946eSmrgif test "${ac_cv_path_install+set}" = set; then 358470f7c90cSmrg $as_echo_n "(cached) " >&6 3585a850946eSmrgelse 3586a850946eSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3587a850946eSmrgfor as_dir in $PATH 3588a850946eSmrgdo 3589a850946eSmrg IFS=$as_save_IFS 3590a850946eSmrg test -z "$as_dir" && as_dir=. 3591a850946eSmrg # Account for people who put trailing slashes in PATH elements. 3592a850946eSmrgcase $as_dir/ in 3593a850946eSmrg ./ | .// | /cC/* | \ 3594a850946eSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3595a850946eSmrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3596a850946eSmrg /usr/ucb/* ) ;; 3597a850946eSmrg *) 3598a850946eSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 3599a850946eSmrg # Don't use installbsd from OSF since it installs stuff as root 3600a850946eSmrg # by default. 3601a850946eSmrg for ac_prog in ginstall scoinst install; do 3602a850946eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 360370f7c90cSmrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3604a850946eSmrg if test $ac_prog = install && 3605a850946eSmrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3606a850946eSmrg # AIX install. It has an incompatible calling convention. 3607a850946eSmrg : 3608a850946eSmrg elif test $ac_prog = install && 3609a850946eSmrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3610a850946eSmrg # program-specific install script used by HP pwplus--don't use. 3611a850946eSmrg : 3612a850946eSmrg else 361370f7c90cSmrg rm -rf conftest.one conftest.two conftest.dir 361470f7c90cSmrg echo one > conftest.one 361570f7c90cSmrg echo two > conftest.two 361670f7c90cSmrg mkdir conftest.dir 361770f7c90cSmrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 361870f7c90cSmrg test -s conftest.one && test -s conftest.two && 361970f7c90cSmrg test -s conftest.dir/conftest.one && 362070f7c90cSmrg test -s conftest.dir/conftest.two 362170f7c90cSmrg then 362270f7c90cSmrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 362370f7c90cSmrg break 3 362470f7c90cSmrg fi 3625a850946eSmrg fi 3626a850946eSmrg fi 3627a850946eSmrg done 3628a850946eSmrg done 3629a850946eSmrg ;; 3630a850946eSmrgesac 363170f7c90cSmrg 3632a850946eSmrgdone 363370f7c90cSmrgIFS=$as_save_IFS 3634a850946eSmrg 363570f7c90cSmrgrm -rf conftest.one conftest.two conftest.dir 3636a850946eSmrg 3637a850946eSmrgfi 3638a850946eSmrg if test "${ac_cv_path_install+set}" = set; then 3639a850946eSmrg INSTALL=$ac_cv_path_install 3640a850946eSmrg else 364170f7c90cSmrg # As a last resort, use the slow shell script. Don't cache a 364270f7c90cSmrg # value for INSTALL within a source directory, because that will 3643a850946eSmrg # break other packages using the cache if that directory is 364470f7c90cSmrg # removed, or if the value is a relative name. 3645a850946eSmrg INSTALL=$ac_install_sh 3646a850946eSmrg fi 3647a850946eSmrgfi 364870f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 364970f7c90cSmrg$as_echo "$INSTALL" >&6; } 3650a850946eSmrg 3651a850946eSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3652a850946eSmrg# It thinks the first close brace ends the variable substitution. 3653a850946eSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3654a850946eSmrg 3655a850946eSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3656a850946eSmrg 3657a850946eSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3658a850946eSmrg 3659a850946eSmrg 3660a850946eSmrg 366170f7c90cSmrgac_ext=c 366270f7c90cSmrgac_cpp='$CPP $CPPFLAGS' 366370f7c90cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 366470f7c90cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 366570f7c90cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 366670f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 366770f7c90cSmrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 366870f7c90cSmrg# On Suns, sometimes $CPP names a directory. 366970f7c90cSmrgif test -n "$CPP" && test -d "$CPP"; then 367070f7c90cSmrg CPP= 367170f7c90cSmrgfi 367270f7c90cSmrgif test -z "$CPP"; then 367370f7c90cSmrg if test "${ac_cv_prog_CPP+set}" = set; then 367470f7c90cSmrg $as_echo_n "(cached) " >&6 367570f7c90cSmrgelse 367670f7c90cSmrg # Double quotes because CPP needs to be expanded 367770f7c90cSmrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 367870f7c90cSmrg do 367970f7c90cSmrg ac_preproc_ok=false 368070f7c90cSmrgfor ac_c_preproc_warn_flag in '' yes 368170f7c90cSmrgdo 368270f7c90cSmrg # Use a header file that comes with gcc, so configuring glibc 368370f7c90cSmrg # with a fresh cross-compiler works. 368470f7c90cSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 368570f7c90cSmrg # <limits.h> exists even on freestanding compilers. 368670f7c90cSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 368770f7c90cSmrg # not just through cpp. "Syntax error" is here to catch this case. 368870f7c90cSmrg cat >conftest.$ac_ext <<_ACEOF 368970f7c90cSmrg/* confdefs.h. */ 369070f7c90cSmrg_ACEOF 369170f7c90cSmrgcat confdefs.h >>conftest.$ac_ext 369270f7c90cSmrgcat >>conftest.$ac_ext <<_ACEOF 369370f7c90cSmrg/* end confdefs.h. */ 369470f7c90cSmrg#ifdef __STDC__ 369570f7c90cSmrg# include <limits.h> 369670f7c90cSmrg#else 369770f7c90cSmrg# include <assert.h> 369870f7c90cSmrg#endif 369970f7c90cSmrg Syntax error 370070f7c90cSmrg_ACEOF 370170f7c90cSmrgif { (ac_try="$ac_cpp conftest.$ac_ext" 370270f7c90cSmrgcase "(($ac_try" in 370370f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 370470f7c90cSmrg *) ac_try_echo=$ac_try;; 370570f7c90cSmrgesac 370670f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 370770f7c90cSmrg$as_echo "$ac_try_echo") >&5 370870f7c90cSmrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 370970f7c90cSmrg ac_status=$? 371070f7c90cSmrg grep -v '^ *+' conftest.er1 >conftest.err 371170f7c90cSmrg rm -f conftest.er1 371270f7c90cSmrg cat conftest.err >&5 371370f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 371470f7c90cSmrg (exit $ac_status); } >/dev/null && { 371570f7c90cSmrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 371670f7c90cSmrg test ! -s conftest.err 371770f7c90cSmrg }; then 371870f7c90cSmrg : 371970f7c90cSmrgelse 372070f7c90cSmrg $as_echo "$as_me: failed program was:" >&5 372170f7c90cSmrgsed 's/^/| /' conftest.$ac_ext >&5 372270f7c90cSmrg 372370f7c90cSmrg # Broken: fails on valid input. 372470f7c90cSmrgcontinue 372570f7c90cSmrgfi 372670f7c90cSmrg 372770f7c90cSmrgrm -f conftest.err conftest.$ac_ext 372870f7c90cSmrg 372970f7c90cSmrg # OK, works on sane cases. Now check whether nonexistent headers 373070f7c90cSmrg # can be detected and how. 373170f7c90cSmrg cat >conftest.$ac_ext <<_ACEOF 373270f7c90cSmrg/* confdefs.h. */ 373370f7c90cSmrg_ACEOF 373470f7c90cSmrgcat confdefs.h >>conftest.$ac_ext 373570f7c90cSmrgcat >>conftest.$ac_ext <<_ACEOF 373670f7c90cSmrg/* end confdefs.h. */ 373770f7c90cSmrg#include <ac_nonexistent.h> 373870f7c90cSmrg_ACEOF 373970f7c90cSmrgif { (ac_try="$ac_cpp conftest.$ac_ext" 374070f7c90cSmrgcase "(($ac_try" in 374170f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 374270f7c90cSmrg *) ac_try_echo=$ac_try;; 374370f7c90cSmrgesac 374470f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 374570f7c90cSmrg$as_echo "$ac_try_echo") >&5 374670f7c90cSmrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 374770f7c90cSmrg ac_status=$? 374870f7c90cSmrg grep -v '^ *+' conftest.er1 >conftest.err 374970f7c90cSmrg rm -f conftest.er1 375070f7c90cSmrg cat conftest.err >&5 375170f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 375270f7c90cSmrg (exit $ac_status); } >/dev/null && { 375370f7c90cSmrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 375470f7c90cSmrg test ! -s conftest.err 375570f7c90cSmrg }; then 375670f7c90cSmrg # Broken: success on invalid input. 375770f7c90cSmrgcontinue 375870f7c90cSmrgelse 375970f7c90cSmrg $as_echo "$as_me: failed program was:" >&5 376070f7c90cSmrgsed 's/^/| /' conftest.$ac_ext >&5 376170f7c90cSmrg 376270f7c90cSmrg # Passes both tests. 376370f7c90cSmrgac_preproc_ok=: 376470f7c90cSmrgbreak 376570f7c90cSmrgfi 376670f7c90cSmrg 376770f7c90cSmrgrm -f conftest.err conftest.$ac_ext 376870f7c90cSmrg 376970f7c90cSmrgdone 377070f7c90cSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 377170f7c90cSmrgrm -f conftest.err conftest.$ac_ext 377270f7c90cSmrgif $ac_preproc_ok; then 377370f7c90cSmrg break 377470f7c90cSmrgfi 377570f7c90cSmrg 377670f7c90cSmrg done 377770f7c90cSmrg ac_cv_prog_CPP=$CPP 377870f7c90cSmrg 377970f7c90cSmrgfi 378070f7c90cSmrg CPP=$ac_cv_prog_CPP 378170f7c90cSmrgelse 378270f7c90cSmrg ac_cv_prog_CPP=$CPP 378370f7c90cSmrgfi 378470f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 378570f7c90cSmrg$as_echo "$CPP" >&6; } 378670f7c90cSmrgac_preproc_ok=false 378770f7c90cSmrgfor ac_c_preproc_warn_flag in '' yes 378870f7c90cSmrgdo 378970f7c90cSmrg # Use a header file that comes with gcc, so configuring glibc 379070f7c90cSmrg # with a fresh cross-compiler works. 379170f7c90cSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 379270f7c90cSmrg # <limits.h> exists even on freestanding compilers. 379370f7c90cSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 379470f7c90cSmrg # not just through cpp. "Syntax error" is here to catch this case. 379570f7c90cSmrg cat >conftest.$ac_ext <<_ACEOF 379670f7c90cSmrg/* confdefs.h. */ 379770f7c90cSmrg_ACEOF 379870f7c90cSmrgcat confdefs.h >>conftest.$ac_ext 379970f7c90cSmrgcat >>conftest.$ac_ext <<_ACEOF 380070f7c90cSmrg/* end confdefs.h. */ 380170f7c90cSmrg#ifdef __STDC__ 380270f7c90cSmrg# include <limits.h> 380370f7c90cSmrg#else 380470f7c90cSmrg# include <assert.h> 380570f7c90cSmrg#endif 380670f7c90cSmrg Syntax error 380770f7c90cSmrg_ACEOF 380870f7c90cSmrgif { (ac_try="$ac_cpp conftest.$ac_ext" 380970f7c90cSmrgcase "(($ac_try" in 381070f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 381170f7c90cSmrg *) ac_try_echo=$ac_try;; 381270f7c90cSmrgesac 381370f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 381470f7c90cSmrg$as_echo "$ac_try_echo") >&5 381570f7c90cSmrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 381670f7c90cSmrg ac_status=$? 381770f7c90cSmrg grep -v '^ *+' conftest.er1 >conftest.err 381870f7c90cSmrg rm -f conftest.er1 381970f7c90cSmrg cat conftest.err >&5 382070f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 382170f7c90cSmrg (exit $ac_status); } >/dev/null && { 382270f7c90cSmrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 382370f7c90cSmrg test ! -s conftest.err 382470f7c90cSmrg }; then 382570f7c90cSmrg : 382670f7c90cSmrgelse 382770f7c90cSmrg $as_echo "$as_me: failed program was:" >&5 382870f7c90cSmrgsed 's/^/| /' conftest.$ac_ext >&5 382970f7c90cSmrg 383070f7c90cSmrg # Broken: fails on valid input. 383170f7c90cSmrgcontinue 383270f7c90cSmrgfi 383370f7c90cSmrg 383470f7c90cSmrgrm -f conftest.err conftest.$ac_ext 383570f7c90cSmrg 383670f7c90cSmrg # OK, works on sane cases. Now check whether nonexistent headers 383770f7c90cSmrg # can be detected and how. 383870f7c90cSmrg cat >conftest.$ac_ext <<_ACEOF 383970f7c90cSmrg/* confdefs.h. */ 384070f7c90cSmrg_ACEOF 384170f7c90cSmrgcat confdefs.h >>conftest.$ac_ext 384270f7c90cSmrgcat >>conftest.$ac_ext <<_ACEOF 384370f7c90cSmrg/* end confdefs.h. */ 384470f7c90cSmrg#include <ac_nonexistent.h> 384570f7c90cSmrg_ACEOF 384670f7c90cSmrgif { (ac_try="$ac_cpp conftest.$ac_ext" 384770f7c90cSmrgcase "(($ac_try" in 384870f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 384970f7c90cSmrg *) ac_try_echo=$ac_try;; 385070f7c90cSmrgesac 385170f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 385270f7c90cSmrg$as_echo "$ac_try_echo") >&5 385370f7c90cSmrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 385470f7c90cSmrg ac_status=$? 385570f7c90cSmrg grep -v '^ *+' conftest.er1 >conftest.err 385670f7c90cSmrg rm -f conftest.er1 385770f7c90cSmrg cat conftest.err >&5 385870f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 385970f7c90cSmrg (exit $ac_status); } >/dev/null && { 386070f7c90cSmrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 386170f7c90cSmrg test ! -s conftest.err 386270f7c90cSmrg }; then 386370f7c90cSmrg # Broken: success on invalid input. 386470f7c90cSmrgcontinue 386570f7c90cSmrgelse 386670f7c90cSmrg $as_echo "$as_me: failed program was:" >&5 386770f7c90cSmrgsed 's/^/| /' conftest.$ac_ext >&5 386870f7c90cSmrg 386970f7c90cSmrg # Passes both tests. 387070f7c90cSmrgac_preproc_ok=: 387170f7c90cSmrgbreak 387270f7c90cSmrgfi 387370f7c90cSmrg 387470f7c90cSmrgrm -f conftest.err conftest.$ac_ext 387570f7c90cSmrg 387670f7c90cSmrgdone 387770f7c90cSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 387870f7c90cSmrgrm -f conftest.err conftest.$ac_ext 387970f7c90cSmrgif $ac_preproc_ok; then 388070f7c90cSmrg : 388170f7c90cSmrgelse 388270f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 388370f7c90cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 388470f7c90cSmrg{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 388570f7c90cSmrgSee \`config.log' for more details." >&5 388670f7c90cSmrg$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 388770f7c90cSmrgSee \`config.log' for more details." >&2;} 388870f7c90cSmrg { (exit 1); exit 1; }; }; } 388970f7c90cSmrgfi 389070f7c90cSmrg 389170f7c90cSmrgac_ext=c 389270f7c90cSmrgac_cpp='$CPP $CPPFLAGS' 389370f7c90cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 389470f7c90cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 389570f7c90cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 389670f7c90cSmrg 389770f7c90cSmrg 389870f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 389970f7c90cSmrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 390070f7c90cSmrgif test "${ac_cv_path_GREP+set}" = set; then 390170f7c90cSmrg $as_echo_n "(cached) " >&6 390270f7c90cSmrgelse 390370f7c90cSmrg if test -z "$GREP"; then 390470f7c90cSmrg ac_path_GREP_found=false 390570f7c90cSmrg # Loop through the user's path and test for each of PROGNAME-LIST 390670f7c90cSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 390770f7c90cSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 390870f7c90cSmrgdo 390970f7c90cSmrg IFS=$as_save_IFS 391070f7c90cSmrg test -z "$as_dir" && as_dir=. 391170f7c90cSmrg for ac_prog in grep ggrep; do 391270f7c90cSmrg for ac_exec_ext in '' $ac_executable_extensions; do 391370f7c90cSmrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 391470f7c90cSmrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 391570f7c90cSmrg# Check for GNU ac_path_GREP and select it if it is found. 391670f7c90cSmrg # Check for GNU $ac_path_GREP 391770f7c90cSmrgcase `"$ac_path_GREP" --version 2>&1` in 391870f7c90cSmrg*GNU*) 391970f7c90cSmrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 392070f7c90cSmrg*) 392170f7c90cSmrg ac_count=0 392270f7c90cSmrg $as_echo_n 0123456789 >"conftest.in" 392370f7c90cSmrg while : 392470f7c90cSmrg do 392570f7c90cSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 392670f7c90cSmrg mv "conftest.tmp" "conftest.in" 392770f7c90cSmrg cp "conftest.in" "conftest.nl" 392870f7c90cSmrg $as_echo 'GREP' >> "conftest.nl" 392970f7c90cSmrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 393070f7c90cSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 393170f7c90cSmrg ac_count=`expr $ac_count + 1` 393270f7c90cSmrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 393370f7c90cSmrg # Best one so far, save it but keep looking for a better one 393470f7c90cSmrg ac_cv_path_GREP="$ac_path_GREP" 393570f7c90cSmrg ac_path_GREP_max=$ac_count 393670f7c90cSmrg fi 393770f7c90cSmrg # 10*(2^10) chars as input seems more than enough 393870f7c90cSmrg test $ac_count -gt 10 && break 393970f7c90cSmrg done 394070f7c90cSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 394170f7c90cSmrgesac 394270f7c90cSmrg 394370f7c90cSmrg $ac_path_GREP_found && break 3 394470f7c90cSmrg done 394570f7c90cSmrg done 394670f7c90cSmrgdone 394770f7c90cSmrgIFS=$as_save_IFS 394870f7c90cSmrg if test -z "$ac_cv_path_GREP"; then 394970f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 395070f7c90cSmrg$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 395170f7c90cSmrg { (exit 1); exit 1; }; } 395270f7c90cSmrg fi 395370f7c90cSmrgelse 395470f7c90cSmrg ac_cv_path_GREP=$GREP 395570f7c90cSmrgfi 395670f7c90cSmrg 395770f7c90cSmrgfi 395870f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 395970f7c90cSmrg$as_echo "$ac_cv_path_GREP" >&6; } 396070f7c90cSmrg GREP="$ac_cv_path_GREP" 396170f7c90cSmrg 396270f7c90cSmrg 396370f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 396470f7c90cSmrg$as_echo_n "checking for egrep... " >&6; } 396570f7c90cSmrgif test "${ac_cv_path_EGREP+set}" = set; then 396670f7c90cSmrg $as_echo_n "(cached) " >&6 396770f7c90cSmrgelse 396870f7c90cSmrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 396970f7c90cSmrg then ac_cv_path_EGREP="$GREP -E" 397070f7c90cSmrg else 397170f7c90cSmrg if test -z "$EGREP"; then 397270f7c90cSmrg ac_path_EGREP_found=false 397370f7c90cSmrg # Loop through the user's path and test for each of PROGNAME-LIST 397470f7c90cSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 397570f7c90cSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 397670f7c90cSmrgdo 397770f7c90cSmrg IFS=$as_save_IFS 397870f7c90cSmrg test -z "$as_dir" && as_dir=. 397970f7c90cSmrg for ac_prog in egrep; do 398070f7c90cSmrg for ac_exec_ext in '' $ac_executable_extensions; do 398170f7c90cSmrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 398270f7c90cSmrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 398370f7c90cSmrg# Check for GNU ac_path_EGREP and select it if it is found. 398470f7c90cSmrg # Check for GNU $ac_path_EGREP 398570f7c90cSmrgcase `"$ac_path_EGREP" --version 2>&1` in 398670f7c90cSmrg*GNU*) 398770f7c90cSmrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 398870f7c90cSmrg*) 398970f7c90cSmrg ac_count=0 399070f7c90cSmrg $as_echo_n 0123456789 >"conftest.in" 399170f7c90cSmrg while : 399270f7c90cSmrg do 399370f7c90cSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 399470f7c90cSmrg mv "conftest.tmp" "conftest.in" 399570f7c90cSmrg cp "conftest.in" "conftest.nl" 399670f7c90cSmrg $as_echo 'EGREP' >> "conftest.nl" 399770f7c90cSmrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 399870f7c90cSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 399970f7c90cSmrg ac_count=`expr $ac_count + 1` 400070f7c90cSmrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 400170f7c90cSmrg # Best one so far, save it but keep looking for a better one 400270f7c90cSmrg ac_cv_path_EGREP="$ac_path_EGREP" 400370f7c90cSmrg ac_path_EGREP_max=$ac_count 400470f7c90cSmrg fi 400570f7c90cSmrg # 10*(2^10) chars as input seems more than enough 400670f7c90cSmrg test $ac_count -gt 10 && break 400770f7c90cSmrg done 400870f7c90cSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 400970f7c90cSmrgesac 401070f7c90cSmrg 401170f7c90cSmrg $ac_path_EGREP_found && break 3 401270f7c90cSmrg done 401370f7c90cSmrg done 401470f7c90cSmrgdone 401570f7c90cSmrgIFS=$as_save_IFS 401670f7c90cSmrg if test -z "$ac_cv_path_EGREP"; then 401770f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 401870f7c90cSmrg$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 401970f7c90cSmrg { (exit 1); exit 1; }; } 402070f7c90cSmrg fi 402170f7c90cSmrgelse 402270f7c90cSmrg ac_cv_path_EGREP=$EGREP 402370f7c90cSmrgfi 402470f7c90cSmrg 402570f7c90cSmrg fi 402670f7c90cSmrgfi 402770f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 402870f7c90cSmrg$as_echo "$ac_cv_path_EGREP" >&6; } 402970f7c90cSmrg EGREP="$ac_cv_path_EGREP" 403070f7c90cSmrg 403170f7c90cSmrg 403270f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 403370f7c90cSmrg$as_echo_n "checking for ANSI C header files... " >&6; } 403470f7c90cSmrgif test "${ac_cv_header_stdc+set}" = set; then 403570f7c90cSmrg $as_echo_n "(cached) " >&6 403670f7c90cSmrgelse 403770f7c90cSmrg cat >conftest.$ac_ext <<_ACEOF 403870f7c90cSmrg/* confdefs.h. */ 403970f7c90cSmrg_ACEOF 404070f7c90cSmrgcat confdefs.h >>conftest.$ac_ext 404170f7c90cSmrgcat >>conftest.$ac_ext <<_ACEOF 404270f7c90cSmrg/* end confdefs.h. */ 404370f7c90cSmrg#include <stdlib.h> 404470f7c90cSmrg#include <stdarg.h> 404570f7c90cSmrg#include <string.h> 404670f7c90cSmrg#include <float.h> 404770f7c90cSmrg 404870f7c90cSmrgint 404970f7c90cSmrgmain () 405070f7c90cSmrg{ 405170f7c90cSmrg 405270f7c90cSmrg ; 405370f7c90cSmrg return 0; 405470f7c90cSmrg} 405570f7c90cSmrg_ACEOF 405670f7c90cSmrgrm -f conftest.$ac_objext 405770f7c90cSmrgif { (ac_try="$ac_compile" 405870f7c90cSmrgcase "(($ac_try" in 405970f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 406070f7c90cSmrg *) ac_try_echo=$ac_try;; 406170f7c90cSmrgesac 406270f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 406370f7c90cSmrg$as_echo "$ac_try_echo") >&5 406470f7c90cSmrg (eval "$ac_compile") 2>conftest.er1 406570f7c90cSmrg ac_status=$? 406670f7c90cSmrg grep -v '^ *+' conftest.er1 >conftest.err 406770f7c90cSmrg rm -f conftest.er1 406870f7c90cSmrg cat conftest.err >&5 406970f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 407070f7c90cSmrg (exit $ac_status); } && { 407170f7c90cSmrg test -z "$ac_c_werror_flag" || 407270f7c90cSmrg test ! -s conftest.err 407370f7c90cSmrg } && test -s conftest.$ac_objext; then 407470f7c90cSmrg ac_cv_header_stdc=yes 407570f7c90cSmrgelse 407670f7c90cSmrg $as_echo "$as_me: failed program was:" >&5 407770f7c90cSmrgsed 's/^/| /' conftest.$ac_ext >&5 407870f7c90cSmrg 407970f7c90cSmrg ac_cv_header_stdc=no 408070f7c90cSmrgfi 408170f7c90cSmrg 408270f7c90cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 408370f7c90cSmrg 408470f7c90cSmrgif test $ac_cv_header_stdc = yes; then 408570f7c90cSmrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 408670f7c90cSmrg cat >conftest.$ac_ext <<_ACEOF 408770f7c90cSmrg/* confdefs.h. */ 408870f7c90cSmrg_ACEOF 408970f7c90cSmrgcat confdefs.h >>conftest.$ac_ext 409070f7c90cSmrgcat >>conftest.$ac_ext <<_ACEOF 409170f7c90cSmrg/* end confdefs.h. */ 409270f7c90cSmrg#include <string.h> 409370f7c90cSmrg 409470f7c90cSmrg_ACEOF 409570f7c90cSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 409670f7c90cSmrg $EGREP "memchr" >/dev/null 2>&1; then 409770f7c90cSmrg : 409870f7c90cSmrgelse 409970f7c90cSmrg ac_cv_header_stdc=no 410070f7c90cSmrgfi 410170f7c90cSmrgrm -f conftest* 410270f7c90cSmrg 410370f7c90cSmrgfi 410470f7c90cSmrg 410570f7c90cSmrgif test $ac_cv_header_stdc = yes; then 410670f7c90cSmrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 410770f7c90cSmrg cat >conftest.$ac_ext <<_ACEOF 410870f7c90cSmrg/* confdefs.h. */ 410970f7c90cSmrg_ACEOF 411070f7c90cSmrgcat confdefs.h >>conftest.$ac_ext 411170f7c90cSmrgcat >>conftest.$ac_ext <<_ACEOF 411270f7c90cSmrg/* end confdefs.h. */ 411370f7c90cSmrg#include <stdlib.h> 411470f7c90cSmrg 411570f7c90cSmrg_ACEOF 411670f7c90cSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 411770f7c90cSmrg $EGREP "free" >/dev/null 2>&1; then 411870f7c90cSmrg : 411970f7c90cSmrgelse 412070f7c90cSmrg ac_cv_header_stdc=no 412170f7c90cSmrgfi 412270f7c90cSmrgrm -f conftest* 412370f7c90cSmrg 412470f7c90cSmrgfi 412570f7c90cSmrg 412670f7c90cSmrgif test $ac_cv_header_stdc = yes; then 412770f7c90cSmrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 412870f7c90cSmrg if test "$cross_compiling" = yes; then 412970f7c90cSmrg : 413070f7c90cSmrgelse 413170f7c90cSmrg cat >conftest.$ac_ext <<_ACEOF 413270f7c90cSmrg/* confdefs.h. */ 413370f7c90cSmrg_ACEOF 413470f7c90cSmrgcat confdefs.h >>conftest.$ac_ext 413570f7c90cSmrgcat >>conftest.$ac_ext <<_ACEOF 413670f7c90cSmrg/* end confdefs.h. */ 413770f7c90cSmrg#include <ctype.h> 413870f7c90cSmrg#include <stdlib.h> 413970f7c90cSmrg#if ((' ' & 0x0FF) == 0x020) 414070f7c90cSmrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 414170f7c90cSmrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 414270f7c90cSmrg#else 414370f7c90cSmrg# define ISLOWER(c) \ 414470f7c90cSmrg (('a' <= (c) && (c) <= 'i') \ 414570f7c90cSmrg || ('j' <= (c) && (c) <= 'r') \ 414670f7c90cSmrg || ('s' <= (c) && (c) <= 'z')) 414770f7c90cSmrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 414870f7c90cSmrg#endif 414970f7c90cSmrg 415070f7c90cSmrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 415170f7c90cSmrgint 415270f7c90cSmrgmain () 415370f7c90cSmrg{ 415470f7c90cSmrg int i; 415570f7c90cSmrg for (i = 0; i < 256; i++) 415670f7c90cSmrg if (XOR (islower (i), ISLOWER (i)) 415770f7c90cSmrg || toupper (i) != TOUPPER (i)) 415870f7c90cSmrg return 2; 415970f7c90cSmrg return 0; 416070f7c90cSmrg} 416170f7c90cSmrg_ACEOF 416270f7c90cSmrgrm -f conftest$ac_exeext 416370f7c90cSmrgif { (ac_try="$ac_link" 416470f7c90cSmrgcase "(($ac_try" in 416570f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 416670f7c90cSmrg *) ac_try_echo=$ac_try;; 416770f7c90cSmrgesac 416870f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 416970f7c90cSmrg$as_echo "$ac_try_echo") >&5 417070f7c90cSmrg (eval "$ac_link") 2>&5 417170f7c90cSmrg ac_status=$? 417270f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 417370f7c90cSmrg (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 417470f7c90cSmrg { (case "(($ac_try" in 417570f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 417670f7c90cSmrg *) ac_try_echo=$ac_try;; 417770f7c90cSmrgesac 417870f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 417970f7c90cSmrg$as_echo "$ac_try_echo") >&5 418070f7c90cSmrg (eval "$ac_try") 2>&5 418170f7c90cSmrg ac_status=$? 418270f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 418370f7c90cSmrg (exit $ac_status); }; }; then 418470f7c90cSmrg : 418570f7c90cSmrgelse 418670f7c90cSmrg $as_echo "$as_me: program exited with status $ac_status" >&5 418770f7c90cSmrg$as_echo "$as_me: failed program was:" >&5 418870f7c90cSmrgsed 's/^/| /' conftest.$ac_ext >&5 418970f7c90cSmrg 419070f7c90cSmrg( exit $ac_status ) 419170f7c90cSmrgac_cv_header_stdc=no 419270f7c90cSmrgfi 419370f7c90cSmrgrm -rf conftest.dSYM 419470f7c90cSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 419570f7c90cSmrgfi 419670f7c90cSmrg 419770f7c90cSmrg 419870f7c90cSmrgfi 419970f7c90cSmrgfi 420070f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 420170f7c90cSmrg$as_echo "$ac_cv_header_stdc" >&6; } 420270f7c90cSmrgif test $ac_cv_header_stdc = yes; then 420370f7c90cSmrg 420470f7c90cSmrgcat >>confdefs.h <<\_ACEOF 420570f7c90cSmrg#define STDC_HEADERS 1 420670f7c90cSmrg_ACEOF 420770f7c90cSmrg 420870f7c90cSmrgfi 420970f7c90cSmrg 421070f7c90cSmrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 421170f7c90cSmrg 421270f7c90cSmrg 421370f7c90cSmrg 421470f7c90cSmrg 421570f7c90cSmrg 421670f7c90cSmrg 421770f7c90cSmrg 421870f7c90cSmrg 421970f7c90cSmrg 422070f7c90cSmrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 422170f7c90cSmrg inttypes.h stdint.h unistd.h 422270f7c90cSmrgdo 422370f7c90cSmrgas_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 422470f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 422570f7c90cSmrg$as_echo_n "checking for $ac_header... " >&6; } 422670f7c90cSmrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 422770f7c90cSmrg $as_echo_n "(cached) " >&6 422870f7c90cSmrgelse 422970f7c90cSmrg cat >conftest.$ac_ext <<_ACEOF 423070f7c90cSmrg/* confdefs.h. */ 423170f7c90cSmrg_ACEOF 423270f7c90cSmrgcat confdefs.h >>conftest.$ac_ext 423370f7c90cSmrgcat >>conftest.$ac_ext <<_ACEOF 423470f7c90cSmrg/* end confdefs.h. */ 423570f7c90cSmrg$ac_includes_default 423670f7c90cSmrg 423770f7c90cSmrg#include <$ac_header> 423870f7c90cSmrg_ACEOF 423970f7c90cSmrgrm -f conftest.$ac_objext 424070f7c90cSmrgif { (ac_try="$ac_compile" 424170f7c90cSmrgcase "(($ac_try" in 424270f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 424370f7c90cSmrg *) ac_try_echo=$ac_try;; 424470f7c90cSmrgesac 424570f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 424670f7c90cSmrg$as_echo "$ac_try_echo") >&5 424770f7c90cSmrg (eval "$ac_compile") 2>conftest.er1 424870f7c90cSmrg ac_status=$? 424970f7c90cSmrg grep -v '^ *+' conftest.er1 >conftest.err 425070f7c90cSmrg rm -f conftest.er1 425170f7c90cSmrg cat conftest.err >&5 425270f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 425370f7c90cSmrg (exit $ac_status); } && { 425470f7c90cSmrg test -z "$ac_c_werror_flag" || 425570f7c90cSmrg test ! -s conftest.err 425670f7c90cSmrg } && test -s conftest.$ac_objext; then 425770f7c90cSmrg eval "$as_ac_Header=yes" 425870f7c90cSmrgelse 425970f7c90cSmrg $as_echo "$as_me: failed program was:" >&5 426070f7c90cSmrgsed 's/^/| /' conftest.$ac_ext >&5 426170f7c90cSmrg 426270f7c90cSmrg eval "$as_ac_Header=no" 426370f7c90cSmrgfi 426470f7c90cSmrg 426570f7c90cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 426670f7c90cSmrgfi 426770f7c90cSmrgac_res=`eval 'as_val=${'$as_ac_Header'} 426870f7c90cSmrg $as_echo "$as_val"'` 426970f7c90cSmrg { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 427070f7c90cSmrg$as_echo "$ac_res" >&6; } 427170f7c90cSmrgas_val=`eval 'as_val=${'$as_ac_Header'} 427270f7c90cSmrg $as_echo "$as_val"'` 427370f7c90cSmrg if test "x$as_val" = x""yes; then 427470f7c90cSmrg cat >>confdefs.h <<_ACEOF 427570f7c90cSmrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 427670f7c90cSmrg_ACEOF 427770f7c90cSmrg 427870f7c90cSmrgfi 427970f7c90cSmrg 428070f7c90cSmrgdone 428170f7c90cSmrg 428270f7c90cSmrg 428370f7c90cSmrg { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 428470f7c90cSmrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 428570f7c90cSmrgif test "${ac_cv_prog_cc_c99+set}" = set; then 428670f7c90cSmrg $as_echo_n "(cached) " >&6 428770f7c90cSmrgelse 428870f7c90cSmrg ac_cv_prog_cc_c99=no 428970f7c90cSmrgac_save_CC=$CC 429070f7c90cSmrgcat >conftest.$ac_ext <<_ACEOF 429170f7c90cSmrg/* confdefs.h. */ 429270f7c90cSmrg_ACEOF 429370f7c90cSmrgcat confdefs.h >>conftest.$ac_ext 429470f7c90cSmrgcat >>conftest.$ac_ext <<_ACEOF 429570f7c90cSmrg/* end confdefs.h. */ 429670f7c90cSmrg#include <stdarg.h> 429770f7c90cSmrg#include <stdbool.h> 429870f7c90cSmrg#include <stdlib.h> 429970f7c90cSmrg#include <wchar.h> 430070f7c90cSmrg#include <stdio.h> 430170f7c90cSmrg 430270f7c90cSmrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 430370f7c90cSmrg#define debug(...) fprintf (stderr, __VA_ARGS__) 430470f7c90cSmrg#define showlist(...) puts (#__VA_ARGS__) 430570f7c90cSmrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 430670f7c90cSmrgstatic void 430770f7c90cSmrgtest_varargs_macros (void) 430870f7c90cSmrg{ 430970f7c90cSmrg int x = 1234; 431070f7c90cSmrg int y = 5678; 431170f7c90cSmrg debug ("Flag"); 431270f7c90cSmrg debug ("X = %d\n", x); 431370f7c90cSmrg showlist (The first, second, and third items.); 431470f7c90cSmrg report (x>y, "x is %d but y is %d", x, y); 431570f7c90cSmrg} 431670f7c90cSmrg 431770f7c90cSmrg// Check long long types. 431870f7c90cSmrg#define BIG64 18446744073709551615ull 431970f7c90cSmrg#define BIG32 4294967295ul 432070f7c90cSmrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 432170f7c90cSmrg#if !BIG_OK 432270f7c90cSmrg your preprocessor is broken; 432370f7c90cSmrg#endif 432470f7c90cSmrg#if BIG_OK 432570f7c90cSmrg#else 432670f7c90cSmrg your preprocessor is broken; 432770f7c90cSmrg#endif 432870f7c90cSmrgstatic long long int bignum = -9223372036854775807LL; 432970f7c90cSmrgstatic unsigned long long int ubignum = BIG64; 433070f7c90cSmrg 433170f7c90cSmrgstruct incomplete_array 433270f7c90cSmrg{ 433370f7c90cSmrg int datasize; 433470f7c90cSmrg double data[]; 433570f7c90cSmrg}; 433670f7c90cSmrg 433770f7c90cSmrgstruct named_init { 433870f7c90cSmrg int number; 433970f7c90cSmrg const wchar_t *name; 434070f7c90cSmrg double average; 434170f7c90cSmrg}; 434270f7c90cSmrg 434370f7c90cSmrgtypedef const char *ccp; 434470f7c90cSmrg 434570f7c90cSmrgstatic inline int 434670f7c90cSmrgtest_restrict (ccp restrict text) 434770f7c90cSmrg{ 434870f7c90cSmrg // See if C++-style comments work. 434970f7c90cSmrg // Iterate through items via the restricted pointer. 435070f7c90cSmrg // Also check for declarations in for loops. 435170f7c90cSmrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 435270f7c90cSmrg continue; 435370f7c90cSmrg return 0; 435470f7c90cSmrg} 435570f7c90cSmrg 435670f7c90cSmrg// Check varargs and va_copy. 435770f7c90cSmrgstatic void 435870f7c90cSmrgtest_varargs (const char *format, ...) 435970f7c90cSmrg{ 436070f7c90cSmrg va_list args; 436170f7c90cSmrg va_start (args, format); 436270f7c90cSmrg va_list args_copy; 436370f7c90cSmrg va_copy (args_copy, args); 436470f7c90cSmrg 436570f7c90cSmrg const char *str; 436670f7c90cSmrg int number; 436770f7c90cSmrg float fnumber; 436870f7c90cSmrg 436970f7c90cSmrg while (*format) 437070f7c90cSmrg { 437170f7c90cSmrg switch (*format++) 437270f7c90cSmrg { 437370f7c90cSmrg case 's': // string 437470f7c90cSmrg str = va_arg (args_copy, const char *); 437570f7c90cSmrg break; 437670f7c90cSmrg case 'd': // int 437770f7c90cSmrg number = va_arg (args_copy, int); 437870f7c90cSmrg break; 437970f7c90cSmrg case 'f': // float 438070f7c90cSmrg fnumber = va_arg (args_copy, double); 438170f7c90cSmrg break; 438270f7c90cSmrg default: 438370f7c90cSmrg break; 438470f7c90cSmrg } 438570f7c90cSmrg } 438670f7c90cSmrg va_end (args_copy); 438770f7c90cSmrg va_end (args); 438870f7c90cSmrg} 438970f7c90cSmrg 439070f7c90cSmrgint 439170f7c90cSmrgmain () 439270f7c90cSmrg{ 439370f7c90cSmrg 439470f7c90cSmrg // Check bool. 439570f7c90cSmrg _Bool success = false; 439670f7c90cSmrg 439770f7c90cSmrg // Check restrict. 439870f7c90cSmrg if (test_restrict ("String literal") == 0) 439970f7c90cSmrg success = true; 440070f7c90cSmrg char *restrict newvar = "Another string"; 440170f7c90cSmrg 440270f7c90cSmrg // Check varargs. 440370f7c90cSmrg test_varargs ("s, d' f .", "string", 65, 34.234); 440470f7c90cSmrg test_varargs_macros (); 440570f7c90cSmrg 440670f7c90cSmrg // Check flexible array members. 440770f7c90cSmrg struct incomplete_array *ia = 440870f7c90cSmrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 440970f7c90cSmrg ia->datasize = 10; 441070f7c90cSmrg for (int i = 0; i < ia->datasize; ++i) 441170f7c90cSmrg ia->data[i] = i * 1.234; 441270f7c90cSmrg 441370f7c90cSmrg // Check named initializers. 441470f7c90cSmrg struct named_init ni = { 441570f7c90cSmrg .number = 34, 441670f7c90cSmrg .name = L"Test wide string", 441770f7c90cSmrg .average = 543.34343, 441870f7c90cSmrg }; 441970f7c90cSmrg 442070f7c90cSmrg ni.number = 58; 442170f7c90cSmrg 442270f7c90cSmrg int dynamic_array[ni.number]; 442370f7c90cSmrg dynamic_array[ni.number - 1] = 543; 442470f7c90cSmrg 442570f7c90cSmrg // work around unused variable warnings 442670f7c90cSmrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 442770f7c90cSmrg || dynamic_array[ni.number - 1] != 543); 442870f7c90cSmrg 442970f7c90cSmrg ; 443070f7c90cSmrg return 0; 443170f7c90cSmrg} 443270f7c90cSmrg_ACEOF 443370f7c90cSmrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 443470f7c90cSmrgdo 443570f7c90cSmrg CC="$ac_save_CC $ac_arg" 443670f7c90cSmrg rm -f conftest.$ac_objext 443770f7c90cSmrgif { (ac_try="$ac_compile" 443870f7c90cSmrgcase "(($ac_try" in 443970f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 444070f7c90cSmrg *) ac_try_echo=$ac_try;; 444170f7c90cSmrgesac 444270f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 444370f7c90cSmrg$as_echo "$ac_try_echo") >&5 444470f7c90cSmrg (eval "$ac_compile") 2>conftest.er1 444570f7c90cSmrg ac_status=$? 444670f7c90cSmrg grep -v '^ *+' conftest.er1 >conftest.err 444770f7c90cSmrg rm -f conftest.er1 444870f7c90cSmrg cat conftest.err >&5 444970f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 445070f7c90cSmrg (exit $ac_status); } && { 445170f7c90cSmrg test -z "$ac_c_werror_flag" || 445270f7c90cSmrg test ! -s conftest.err 445370f7c90cSmrg } && test -s conftest.$ac_objext; then 445470f7c90cSmrg ac_cv_prog_cc_c99=$ac_arg 445570f7c90cSmrgelse 445670f7c90cSmrg $as_echo "$as_me: failed program was:" >&5 445770f7c90cSmrgsed 's/^/| /' conftest.$ac_ext >&5 445870f7c90cSmrg 445970f7c90cSmrg 446070f7c90cSmrgfi 446170f7c90cSmrg 446270f7c90cSmrgrm -f core conftest.err conftest.$ac_objext 446370f7c90cSmrg test "x$ac_cv_prog_cc_c99" != "xno" && break 446470f7c90cSmrgdone 446570f7c90cSmrgrm -f conftest.$ac_ext 446670f7c90cSmrgCC=$ac_save_CC 446770f7c90cSmrg 446870f7c90cSmrgfi 446970f7c90cSmrg# AC_CACHE_VAL 447070f7c90cSmrgcase "x$ac_cv_prog_cc_c99" in 447170f7c90cSmrg x) 447270f7c90cSmrg { $as_echo "$as_me:$LINENO: result: none needed" >&5 447370f7c90cSmrg$as_echo "none needed" >&6; } ;; 447470f7c90cSmrg xno) 447570f7c90cSmrg { $as_echo "$as_me:$LINENO: result: unsupported" >&5 447670f7c90cSmrg$as_echo "unsupported" >&6; } ;; 447770f7c90cSmrg *) 447870f7c90cSmrg CC="$CC $ac_cv_prog_cc_c99" 447970f7c90cSmrg { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 448070f7c90cSmrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 448170f7c90cSmrgesac 448270f7c90cSmrg 448370f7c90cSmrg 448470f7c90cSmrg 448570f7c90cSmrg# Make sure we can run config.sub. 448670f7c90cSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 448770f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 448870f7c90cSmrg$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 448970f7c90cSmrg { (exit 1); exit 1; }; } 449070f7c90cSmrg 449170f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking build system type" >&5 449270f7c90cSmrg$as_echo_n "checking build system type... " >&6; } 449370f7c90cSmrgif test "${ac_cv_build+set}" = set; then 449470f7c90cSmrg $as_echo_n "(cached) " >&6 449570f7c90cSmrgelse 449670f7c90cSmrg ac_build_alias=$build_alias 449770f7c90cSmrgtest "x$ac_build_alias" = x && 449870f7c90cSmrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 449970f7c90cSmrgtest "x$ac_build_alias" = x && 450070f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 450170f7c90cSmrg$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 450270f7c90cSmrg { (exit 1); exit 1; }; } 450370f7c90cSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 450470f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 450570f7c90cSmrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 450670f7c90cSmrg { (exit 1); exit 1; }; } 450770f7c90cSmrg 450870f7c90cSmrgfi 450970f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 451070f7c90cSmrg$as_echo "$ac_cv_build" >&6; } 451170f7c90cSmrgcase $ac_cv_build in 451270f7c90cSmrg*-*-*) ;; 451370f7c90cSmrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 451470f7c90cSmrg$as_echo "$as_me: error: invalid value of canonical build" >&2;} 451570f7c90cSmrg { (exit 1); exit 1; }; };; 451670f7c90cSmrgesac 451770f7c90cSmrgbuild=$ac_cv_build 451870f7c90cSmrgac_save_IFS=$IFS; IFS='-' 451970f7c90cSmrgset x $ac_cv_build 452070f7c90cSmrgshift 452170f7c90cSmrgbuild_cpu=$1 452270f7c90cSmrgbuild_vendor=$2 452370f7c90cSmrgshift; shift 452470f7c90cSmrg# Remember, the first character of IFS is used to create $*, 452570f7c90cSmrg# except with old shells: 452670f7c90cSmrgbuild_os=$* 452770f7c90cSmrgIFS=$ac_save_IFS 452870f7c90cSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 452970f7c90cSmrg 453070f7c90cSmrg 453170f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking host system type" >&5 453270f7c90cSmrg$as_echo_n "checking host system type... " >&6; } 453370f7c90cSmrgif test "${ac_cv_host+set}" = set; then 453470f7c90cSmrg $as_echo_n "(cached) " >&6 453570f7c90cSmrgelse 453670f7c90cSmrg if test "x$host_alias" = x; then 453770f7c90cSmrg ac_cv_host=$ac_cv_build 453870f7c90cSmrgelse 453970f7c90cSmrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 454070f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 454170f7c90cSmrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 454270f7c90cSmrg { (exit 1); exit 1; }; } 454370f7c90cSmrgfi 454470f7c90cSmrg 454570f7c90cSmrgfi 454670f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 454770f7c90cSmrg$as_echo "$ac_cv_host" >&6; } 454870f7c90cSmrgcase $ac_cv_host in 454970f7c90cSmrg*-*-*) ;; 455070f7c90cSmrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 455170f7c90cSmrg$as_echo "$as_me: error: invalid value of canonical host" >&2;} 455270f7c90cSmrg { (exit 1); exit 1; }; };; 455370f7c90cSmrgesac 455470f7c90cSmrghost=$ac_cv_host 455570f7c90cSmrgac_save_IFS=$IFS; IFS='-' 455670f7c90cSmrgset x $ac_cv_host 455770f7c90cSmrgshift 455870f7c90cSmrghost_cpu=$1 455970f7c90cSmrghost_vendor=$2 456070f7c90cSmrgshift; shift 456170f7c90cSmrg# Remember, the first character of IFS is used to create $*, 456270f7c90cSmrg# except with old shells: 456370f7c90cSmrghost_os=$* 456470f7c90cSmrgIFS=$ac_save_IFS 456570f7c90cSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 456670f7c90cSmrg 456770f7c90cSmrg 456870f7c90cSmrg 456970f7c90cSmrg 457070f7c90cSmrg 457170f7c90cSmrgif test "x$GCC" = xyes ; then 457270f7c90cSmrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 457370f7c90cSmrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 457470f7c90cSmrg-Wbad-function-cast" 457570f7c90cSmrg case `$CC -dumpversion` in 457670f7c90cSmrg 3.4.* | 4.*) 457770f7c90cSmrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 457870f7c90cSmrg ;; 457970f7c90cSmrg esac 458070f7c90cSmrgelse 458170f7c90cSmrg { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 458270f7c90cSmrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 458370f7c90cSmrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 458470f7c90cSmrg $as_echo_n "(cached) " >&6 458570f7c90cSmrgelse 458670f7c90cSmrg cat >conftest.$ac_ext <<_ACEOF 458770f7c90cSmrg/* confdefs.h. */ 458870f7c90cSmrg_ACEOF 458970f7c90cSmrgcat confdefs.h >>conftest.$ac_ext 459070f7c90cSmrgcat >>conftest.$ac_ext <<_ACEOF 459170f7c90cSmrg/* end confdefs.h. */ 459270f7c90cSmrg$ac_includes_default 459370f7c90cSmrgint 459470f7c90cSmrgmain () 459570f7c90cSmrg{ 459670f7c90cSmrg#ifndef __SUNPRO_C 459770f7c90cSmrg (void) __SUNPRO_C; 459870f7c90cSmrg#endif 459970f7c90cSmrg 460070f7c90cSmrg ; 460170f7c90cSmrg return 0; 460270f7c90cSmrg} 460370f7c90cSmrg_ACEOF 460470f7c90cSmrgrm -f conftest.$ac_objext 460570f7c90cSmrgif { (ac_try="$ac_compile" 460670f7c90cSmrgcase "(($ac_try" in 460770f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 460870f7c90cSmrg *) ac_try_echo=$ac_try;; 460970f7c90cSmrgesac 461070f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 461170f7c90cSmrg$as_echo "$ac_try_echo") >&5 461270f7c90cSmrg (eval "$ac_compile") 2>conftest.er1 461370f7c90cSmrg ac_status=$? 461470f7c90cSmrg grep -v '^ *+' conftest.er1 >conftest.err 461570f7c90cSmrg rm -f conftest.er1 461670f7c90cSmrg cat conftest.err >&5 461770f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 461870f7c90cSmrg (exit $ac_status); } && { 461970f7c90cSmrg test -z "$ac_c_werror_flag" || 462070f7c90cSmrg test ! -s conftest.err 462170f7c90cSmrg } && test -s conftest.$ac_objext; then 462270f7c90cSmrg ac_cv_have_decl___SUNPRO_C=yes 462370f7c90cSmrgelse 462470f7c90cSmrg $as_echo "$as_me: failed program was:" >&5 462570f7c90cSmrgsed 's/^/| /' conftest.$ac_ext >&5 462670f7c90cSmrg 462770f7c90cSmrg ac_cv_have_decl___SUNPRO_C=no 462870f7c90cSmrgfi 462970f7c90cSmrg 463070f7c90cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 463170f7c90cSmrgfi 463270f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 463370f7c90cSmrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 463470f7c90cSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 463570f7c90cSmrg SUNCC="yes" 463670f7c90cSmrgelse 463770f7c90cSmrg SUNCC="no" 463870f7c90cSmrgfi 463970f7c90cSmrg 464070f7c90cSmrg if test "x$SUNCC" = "xyes"; then 464170f7c90cSmrg CWARNFLAGS="-v" 464270f7c90cSmrg fi 464370f7c90cSmrgfi 464470f7c90cSmrg 464570f7c90cSmrg# Check whether --enable-silent-rules was given. 464670f7c90cSmrgif test "${enable_silent_rules+set}" = set; then 464770f7c90cSmrg enableval=$enable_silent_rules; 464870f7c90cSmrgfi 464970f7c90cSmrg 465070f7c90cSmrgcase $enable_silent_rules in 465170f7c90cSmrgyes) AM_DEFAULT_VERBOSITY=0;; 465270f7c90cSmrgno) AM_DEFAULT_VERBOSITY=1;; 465370f7c90cSmrg*) AM_DEFAULT_VERBOSITY=0;; 465470f7c90cSmrgesac 465570f7c90cSmrgAM_BACKSLASH='\' 465670f7c90cSmrg 465770f7c90cSmrg 465870f7c90cSmrg 465970f7c90cSmrg 466070f7c90cSmrg 466170f7c90cSmrg 466270f7c90cSmrg 466370f7c90cSmrg# Check whether --enable-strict-compilation was given. 466470f7c90cSmrgif test "${enable_strict_compilation+set}" = set; then 466570f7c90cSmrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 466670f7c90cSmrgelse 466770f7c90cSmrg STRICT_COMPILE=no 466870f7c90cSmrgfi 466970f7c90cSmrg 467070f7c90cSmrgif test "x$STRICT_COMPILE" = "xyes"; then 467170f7c90cSmrg { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 467270f7c90cSmrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 467370f7c90cSmrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 467470f7c90cSmrg $as_echo_n "(cached) " >&6 467570f7c90cSmrgelse 467670f7c90cSmrg cat >conftest.$ac_ext <<_ACEOF 467770f7c90cSmrg/* confdefs.h. */ 467870f7c90cSmrg_ACEOF 467970f7c90cSmrgcat confdefs.h >>conftest.$ac_ext 468070f7c90cSmrgcat >>conftest.$ac_ext <<_ACEOF 468170f7c90cSmrg/* end confdefs.h. */ 468270f7c90cSmrg$ac_includes_default 468370f7c90cSmrgint 468470f7c90cSmrgmain () 468570f7c90cSmrg{ 468670f7c90cSmrg#ifndef __SUNPRO_C 468770f7c90cSmrg (void) __SUNPRO_C; 468870f7c90cSmrg#endif 468970f7c90cSmrg 469070f7c90cSmrg ; 469170f7c90cSmrg return 0; 469270f7c90cSmrg} 469370f7c90cSmrg_ACEOF 469470f7c90cSmrgrm -f conftest.$ac_objext 469570f7c90cSmrgif { (ac_try="$ac_compile" 469670f7c90cSmrgcase "(($ac_try" in 469770f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 469870f7c90cSmrg *) ac_try_echo=$ac_try;; 469970f7c90cSmrgesac 470070f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 470170f7c90cSmrg$as_echo "$ac_try_echo") >&5 470270f7c90cSmrg (eval "$ac_compile") 2>conftest.er1 470370f7c90cSmrg ac_status=$? 470470f7c90cSmrg grep -v '^ *+' conftest.er1 >conftest.err 470570f7c90cSmrg rm -f conftest.er1 470670f7c90cSmrg cat conftest.err >&5 470770f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 470870f7c90cSmrg (exit $ac_status); } && { 470970f7c90cSmrg test -z "$ac_c_werror_flag" || 471070f7c90cSmrg test ! -s conftest.err 471170f7c90cSmrg } && test -s conftest.$ac_objext; then 471270f7c90cSmrg ac_cv_have_decl___SUNPRO_C=yes 471370f7c90cSmrgelse 471470f7c90cSmrg $as_echo "$as_me: failed program was:" >&5 471570f7c90cSmrgsed 's/^/| /' conftest.$ac_ext >&5 471670f7c90cSmrg 471770f7c90cSmrg ac_cv_have_decl___SUNPRO_C=no 471870f7c90cSmrgfi 471970f7c90cSmrg 472070f7c90cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 472170f7c90cSmrgfi 472270f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 472370f7c90cSmrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 472470f7c90cSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 472570f7c90cSmrg SUNCC="yes" 472670f7c90cSmrgelse 472770f7c90cSmrg SUNCC="no" 472870f7c90cSmrgfi 472970f7c90cSmrg 473070f7c90cSmrg { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5 473170f7c90cSmrg$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; } 473270f7c90cSmrgif test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then 473370f7c90cSmrg $as_echo_n "(cached) " >&6 473470f7c90cSmrgelse 473570f7c90cSmrg cat >conftest.$ac_ext <<_ACEOF 473670f7c90cSmrg/* confdefs.h. */ 473770f7c90cSmrg_ACEOF 473870f7c90cSmrgcat confdefs.h >>conftest.$ac_ext 473970f7c90cSmrgcat >>conftest.$ac_ext <<_ACEOF 474070f7c90cSmrg/* end confdefs.h. */ 474170f7c90cSmrg$ac_includes_default 474270f7c90cSmrgint 474370f7c90cSmrgmain () 474470f7c90cSmrg{ 474570f7c90cSmrg#ifndef __INTEL_COMPILER 474670f7c90cSmrg (void) __INTEL_COMPILER; 474770f7c90cSmrg#endif 474870f7c90cSmrg 474970f7c90cSmrg ; 475070f7c90cSmrg return 0; 475170f7c90cSmrg} 475270f7c90cSmrg_ACEOF 475370f7c90cSmrgrm -f conftest.$ac_objext 475470f7c90cSmrgif { (ac_try="$ac_compile" 475570f7c90cSmrgcase "(($ac_try" in 475670f7c90cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 475770f7c90cSmrg *) ac_try_echo=$ac_try;; 475870f7c90cSmrgesac 475970f7c90cSmrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 476070f7c90cSmrg$as_echo "$ac_try_echo") >&5 476170f7c90cSmrg (eval "$ac_compile") 2>conftest.er1 476270f7c90cSmrg ac_status=$? 476370f7c90cSmrg grep -v '^ *+' conftest.er1 >conftest.err 476470f7c90cSmrg rm -f conftest.er1 476570f7c90cSmrg cat conftest.err >&5 476670f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 476770f7c90cSmrg (exit $ac_status); } && { 476870f7c90cSmrg test -z "$ac_c_werror_flag" || 476970f7c90cSmrg test ! -s conftest.err 477070f7c90cSmrg } && test -s conftest.$ac_objext; then 477170f7c90cSmrg ac_cv_have_decl___INTEL_COMPILER=yes 477270f7c90cSmrgelse 477370f7c90cSmrg $as_echo "$as_me: failed program was:" >&5 477470f7c90cSmrgsed 's/^/| /' conftest.$ac_ext >&5 477570f7c90cSmrg 477670f7c90cSmrg ac_cv_have_decl___INTEL_COMPILER=no 477770f7c90cSmrgfi 477870f7c90cSmrg 477970f7c90cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 478070f7c90cSmrgfi 478170f7c90cSmrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5 478270f7c90cSmrg$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; } 478370f7c90cSmrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then 478470f7c90cSmrg INTELCC="yes" 478570f7c90cSmrgelse 478670f7c90cSmrg INTELCC="no" 478770f7c90cSmrgfi 478870f7c90cSmrg 478970f7c90cSmrg if test "x$GCC" = xyes ; then 479070f7c90cSmrg STRICT_CFLAGS="-pedantic -Werror" 479170f7c90cSmrg elif test "x$SUNCC" = "xyes"; then 479270f7c90cSmrg STRICT_CFLAGS="-errwarn" 479370f7c90cSmrg elif test "x$INTELCC" = "xyes"; then 479470f7c90cSmrg STRICT_CFLAGS="-Werror" 479570f7c90cSmrg fi 479670f7c90cSmrgfi 479770f7c90cSmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 479870f7c90cSmrg 479970f7c90cSmrg 480070f7c90cSmrg 480170f7c90cSmrg 480270f7c90cSmrg# Check whether --with-release-version was given. 480370f7c90cSmrgif test "${with_release_version+set}" = set; then 480470f7c90cSmrg withval=$with_release_version; RELEASE_VERSION="$withval" 480570f7c90cSmrgelse 480670f7c90cSmrg RELEASE_VERSION="" 480770f7c90cSmrgfi 480870f7c90cSmrg 480970f7c90cSmrg if test "x$RELEASE_VERSION" != "x"; then 481070f7c90cSmrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 481170f7c90cSmrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 481270f7c90cSmrg { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 481370f7c90cSmrg$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;} 481470f7c90cSmrg fi 481570f7c90cSmrg 481670f7c90cSmrgcat >>confdefs.h <<_ACEOF 481770f7c90cSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 481870f7c90cSmrg_ACEOF 481970f7c90cSmrg 482070f7c90cSmrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 482170f7c90cSmrg if test "x$PVM" = "x"; then 482270f7c90cSmrg PVM="0" 482370f7c90cSmrg fi 482470f7c90cSmrg 482570f7c90cSmrgcat >>confdefs.h <<_ACEOF 482670f7c90cSmrg#define PACKAGE_VERSION_MINOR $PVM 482770f7c90cSmrg_ACEOF 482870f7c90cSmrg 482970f7c90cSmrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 483070f7c90cSmrg if test "x$PVP" = "x"; then 483170f7c90cSmrg PVP="0" 483270f7c90cSmrg fi 483370f7c90cSmrg 483470f7c90cSmrgcat >>confdefs.h <<_ACEOF 483570f7c90cSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 483670f7c90cSmrg_ACEOF 483770f7c90cSmrg 483870f7c90cSmrg 483970f7c90cSmrg 484070f7c90cSmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \ 484170f7c90cSmrgmv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \ 484270f7c90cSmrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 484370f7c90cSmrg 484470f7c90cSmrgdistcleancheck_listfiles='find . -type f ! -name ChangeLog -print' 484570f7c90cSmrg 484670f7c90cSmrg 484770f7c90cSmrg 484870f7c90cSmrg 484970f7c90cSmrg 485070f7c90cSmrgif test x$APP_MAN_SUFFIX = x ; then 485170f7c90cSmrg APP_MAN_SUFFIX=1 485270f7c90cSmrgfi 485370f7c90cSmrgif test x$APP_MAN_DIR = x ; then 485470f7c90cSmrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 485570f7c90cSmrgfi 485670f7c90cSmrg 485770f7c90cSmrgif test x$LIB_MAN_SUFFIX = x ; then 485870f7c90cSmrg LIB_MAN_SUFFIX=3 485970f7c90cSmrgfi 486070f7c90cSmrgif test x$LIB_MAN_DIR = x ; then 486170f7c90cSmrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 486270f7c90cSmrgfi 486370f7c90cSmrg 486470f7c90cSmrgif test x$FILE_MAN_SUFFIX = x ; then 486570f7c90cSmrg case $host_os in 486670f7c90cSmrg solaris*) FILE_MAN_SUFFIX=4 ;; 486770f7c90cSmrg *) FILE_MAN_SUFFIX=5 ;; 486870f7c90cSmrg esac 486970f7c90cSmrgfi 487070f7c90cSmrgif test x$FILE_MAN_DIR = x ; then 487170f7c90cSmrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 487270f7c90cSmrgfi 487370f7c90cSmrg 487470f7c90cSmrgif test x$MISC_MAN_SUFFIX = x ; then 487570f7c90cSmrg case $host_os in 487670f7c90cSmrg solaris*) MISC_MAN_SUFFIX=5 ;; 487770f7c90cSmrg *) MISC_MAN_SUFFIX=7 ;; 487870f7c90cSmrg esac 487970f7c90cSmrgfi 488070f7c90cSmrgif test x$MISC_MAN_DIR = x ; then 488170f7c90cSmrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 488270f7c90cSmrgfi 488370f7c90cSmrg 488470f7c90cSmrgif test x$DRIVER_MAN_SUFFIX = x ; then 488570f7c90cSmrg case $host_os in 488670f7c90cSmrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 488770f7c90cSmrg *) DRIVER_MAN_SUFFIX=4 ;; 488870f7c90cSmrg esac 488970f7c90cSmrgfi 489070f7c90cSmrgif test x$DRIVER_MAN_DIR = x ; then 489170f7c90cSmrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 489270f7c90cSmrgfi 489370f7c90cSmrg 489470f7c90cSmrgif test x$ADMIN_MAN_SUFFIX = x ; then 489570f7c90cSmrg case $host_os in 489670f7c90cSmrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 489770f7c90cSmrg *) ADMIN_MAN_SUFFIX=8 ;; 489870f7c90cSmrg esac 489970f7c90cSmrgfi 490070f7c90cSmrgif test x$ADMIN_MAN_DIR = x ; then 490170f7c90cSmrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 490270f7c90cSmrgfi 490370f7c90cSmrg 490470f7c90cSmrg 490570f7c90cSmrg 490670f7c90cSmrg 490770f7c90cSmrg 490870f7c90cSmrg 490970f7c90cSmrg 491070f7c90cSmrg 491170f7c90cSmrg 491270f7c90cSmrg 491370f7c90cSmrg 491470f7c90cSmrg 491570f7c90cSmrg 491670f7c90cSmrg 491770f7c90cSmrg 491870f7c90cSmrg 491970f7c90cSmrg 492070f7c90cSmrg# Checks for pkg-config packages 492170f7c90cSmrg 492270f7c90cSmrg 492370f7c90cSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 492470f7c90cSmrg if test -n "$ac_tool_prefix"; then 492570f7c90cSmrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 492670f7c90cSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 492770f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 492870f7c90cSmrg$as_echo_n "checking for $ac_word... " >&6; } 4929a850946eSmrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 493070f7c90cSmrg $as_echo_n "(cached) " >&6 4931a850946eSmrgelse 4932a850946eSmrg case $PKG_CONFIG in 4933a850946eSmrg [\\/]* | ?:[\\/]*) 4934a850946eSmrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4935a850946eSmrg ;; 4936a850946eSmrg *) 4937a850946eSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4938a850946eSmrgfor as_dir in $PATH 4939a850946eSmrgdo 4940a850946eSmrg IFS=$as_save_IFS 4941a850946eSmrg test -z "$as_dir" && as_dir=. 4942a850946eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 494370f7c90cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4944a850946eSmrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 494570f7c90cSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4946a850946eSmrg break 2 4947a850946eSmrg fi 4948a850946eSmrgdone 4949a850946eSmrgdone 495070f7c90cSmrgIFS=$as_save_IFS 4951a850946eSmrg 4952a850946eSmrg ;; 4953a850946eSmrgesac 4954a850946eSmrgfi 4955a850946eSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 4956a850946eSmrgif test -n "$PKG_CONFIG"; then 495770f7c90cSmrg { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 495870f7c90cSmrg$as_echo "$PKG_CONFIG" >&6; } 4959a850946eSmrgelse 496070f7c90cSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 496170f7c90cSmrg$as_echo "no" >&6; } 4962a850946eSmrgfi 4963a850946eSmrg 496470f7c90cSmrg 4965a850946eSmrgfi 4966a850946eSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then 4967a850946eSmrg ac_pt_PKG_CONFIG=$PKG_CONFIG 4968a850946eSmrg # Extract the first word of "pkg-config", so it can be a program name with args. 4969a850946eSmrgset dummy pkg-config; ac_word=$2 497070f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 497170f7c90cSmrg$as_echo_n "checking for $ac_word... " >&6; } 4972a850946eSmrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 497370f7c90cSmrg $as_echo_n "(cached) " >&6 4974a850946eSmrgelse 4975a850946eSmrg case $ac_pt_PKG_CONFIG in 4976a850946eSmrg [\\/]* | ?:[\\/]*) 4977a850946eSmrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4978a850946eSmrg ;; 4979a850946eSmrg *) 4980a850946eSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4981a850946eSmrgfor as_dir in $PATH 4982a850946eSmrgdo 4983a850946eSmrg IFS=$as_save_IFS 4984a850946eSmrg test -z "$as_dir" && as_dir=. 4985a850946eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 498670f7c90cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4987a850946eSmrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 498870f7c90cSmrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4989a850946eSmrg break 2 4990a850946eSmrg fi 4991a850946eSmrgdone 4992a850946eSmrgdone 499370f7c90cSmrgIFS=$as_save_IFS 4994a850946eSmrg 4995a850946eSmrg ;; 4996a850946eSmrgesac 4997a850946eSmrgfi 4998a850946eSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4999a850946eSmrgif test -n "$ac_pt_PKG_CONFIG"; then 500070f7c90cSmrg { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 500170f7c90cSmrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 5002a850946eSmrgelse 500370f7c90cSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 500470f7c90cSmrg$as_echo "no" >&6; } 5005a850946eSmrgfi 5006a850946eSmrg 500770f7c90cSmrg if test "x$ac_pt_PKG_CONFIG" = x; then 500870f7c90cSmrg PKG_CONFIG="" 500970f7c90cSmrg else 501070f7c90cSmrg case $cross_compiling:$ac_tool_warned in 501170f7c90cSmrgyes:) 501270f7c90cSmrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 501370f7c90cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 501470f7c90cSmrgac_tool_warned=yes ;; 501570f7c90cSmrgesac 501670f7c90cSmrg PKG_CONFIG=$ac_pt_PKG_CONFIG 501770f7c90cSmrg fi 5018a850946eSmrgelse 5019a850946eSmrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 5020a850946eSmrgfi 5021a850946eSmrg 5022a850946eSmrgfi 5023a850946eSmrgif test -n "$PKG_CONFIG"; then 5024a850946eSmrg _pkg_min_version=0.9.0 502570f7c90cSmrg { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 502670f7c90cSmrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 5027a850946eSmrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 502870f7c90cSmrg { $as_echo "$as_me:$LINENO: result: yes" >&5 502970f7c90cSmrg$as_echo "yes" >&6; } 5030a850946eSmrg else 503170f7c90cSmrg { $as_echo "$as_me:$LINENO: result: no" >&5 503270f7c90cSmrg$as_echo "no" >&6; } 5033a850946eSmrg PKG_CONFIG="" 5034a850946eSmrg fi 5035a850946eSmrg 5036a850946eSmrgfi 5037a850946eSmrg 5038a850946eSmrgpkg_failed=no 503970f7c90cSmrg{ $as_echo "$as_me:$LINENO: checking for XLSCLIENTS" >&5 504070f7c90cSmrg$as_echo_n "checking for XLSCLIENTS... " >&6; } 504170f7c90cSmrg 504270f7c90cSmrgif test -n "$XLSCLIENTS_CFLAGS"; then 504370f7c90cSmrg pkg_cv_XLSCLIENTS_CFLAGS="$XLSCLIENTS_CFLAGS" 504470f7c90cSmrg elif test -n "$PKG_CONFIG"; then 504570f7c90cSmrg if test -n "$PKG_CONFIG" && \ 504670f7c90cSmrg { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xmuu\"") >&5 5047a850946eSmrg ($PKG_CONFIG --exists --print-errors "x11 xmuu") 2>&5 5048a850946eSmrg ac_status=$? 504970f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5050a850946eSmrg (exit $ac_status); }; then 5051a850946eSmrg pkg_cv_XLSCLIENTS_CFLAGS=`$PKG_CONFIG --cflags "x11 xmuu" 2>/dev/null` 5052a850946eSmrgelse 5053a850946eSmrg pkg_failed=yes 5054a850946eSmrgfi 505570f7c90cSmrg else 505670f7c90cSmrg pkg_failed=untried 5057a850946eSmrgfi 505870f7c90cSmrgif test -n "$XLSCLIENTS_LIBS"; then 505970f7c90cSmrg pkg_cv_XLSCLIENTS_LIBS="$XLSCLIENTS_LIBS" 506070f7c90cSmrg elif test -n "$PKG_CONFIG"; then 506170f7c90cSmrg if test -n "$PKG_CONFIG" && \ 506270f7c90cSmrg { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xmuu\"") >&5 5063a850946eSmrg ($PKG_CONFIG --exists --print-errors "x11 xmuu") 2>&5 5064a850946eSmrg ac_status=$? 506570f7c90cSmrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5066a850946eSmrg (exit $ac_status); }; then 5067a850946eSmrg pkg_cv_XLSCLIENTS_LIBS=`$PKG_CONFIG --libs "x11 xmuu" 2>/dev/null` 5068a850946eSmrgelse 5069a850946eSmrg pkg_failed=yes 5070a850946eSmrgfi 507170f7c90cSmrg else 507270f7c90cSmrg pkg_failed=untried 5073a850946eSmrgfi 5074a850946eSmrg 5075a850946eSmrg 5076a850946eSmrg 5077a850946eSmrgif test $pkg_failed = yes; then 5078a850946eSmrg 5079a850946eSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 5080a850946eSmrg _pkg_short_errors_supported=yes 5081a850946eSmrgelse 5082a850946eSmrg _pkg_short_errors_supported=no 5083a850946eSmrgfi 5084a850946eSmrg if test $_pkg_short_errors_supported = yes; then 508570f7c90cSmrg XLSCLIENTS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xmuu" 2>&1` 5086a850946eSmrg else 508770f7c90cSmrg XLSCLIENTS_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xmuu" 2>&1` 5088a850946eSmrg fi 5089a850946eSmrg # Put the nasty error message in config.log where it belongs 5090a850946eSmrg echo "$XLSCLIENTS_PKG_ERRORS" >&5 5091a850946eSmrg 509270f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: Package requirements (x11 xmuu) were not met: 5093a850946eSmrg 5094a850946eSmrg$XLSCLIENTS_PKG_ERRORS 5095a850946eSmrg 5096a850946eSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 5097a850946eSmrginstalled software in a non-standard prefix. 5098a850946eSmrg 5099a850946eSmrgAlternatively, you may set the environment variables XLSCLIENTS_CFLAGS 5100a850946eSmrgand XLSCLIENTS_LIBS to avoid the need to call pkg-config. 5101a850946eSmrgSee the pkg-config man page for more details. 5102a850946eSmrg" >&5 510370f7c90cSmrg$as_echo "$as_me: error: Package requirements (x11 xmuu) were not met: 5104a850946eSmrg 5105a850946eSmrg$XLSCLIENTS_PKG_ERRORS 5106a850946eSmrg 5107a850946eSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 5108a850946eSmrginstalled software in a non-standard prefix. 5109a850946eSmrg 5110a850946eSmrgAlternatively, you may set the environment variables XLSCLIENTS_CFLAGS 5111a850946eSmrgand XLSCLIENTS_LIBS to avoid the need to call pkg-config. 5112a850946eSmrgSee the pkg-config man page for more details. 5113a850946eSmrg" >&2;} 5114a850946eSmrg { (exit 1); exit 1; }; } 5115a850946eSmrgelif test $pkg_failed = untried; then 511670f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 511770f7c90cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 511870f7c90cSmrg{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 5119a850946eSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 5120a850946eSmrgpath to pkg-config. 5121a850946eSmrg 5122a850946eSmrgAlternatively, you may set the environment variables XLSCLIENTS_CFLAGS 5123a850946eSmrgand XLSCLIENTS_LIBS to avoid the need to call pkg-config. 5124a850946eSmrgSee the pkg-config man page for more details. 5125a850946eSmrg 512670f7c90cSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 5127a850946eSmrgSee \`config.log' for more details." >&5 512870f7c90cSmrg$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 5129a850946eSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 5130a850946eSmrgpath to pkg-config. 5131a850946eSmrg 5132a850946eSmrgAlternatively, you may set the environment variables XLSCLIENTS_CFLAGS 5133a850946eSmrgand XLSCLIENTS_LIBS to avoid the need to call pkg-config. 5134a850946eSmrgSee the pkg-config man page for more details. 5135a850946eSmrg 513670f7c90cSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 5137a850946eSmrgSee \`config.log' for more details." >&2;} 513870f7c90cSmrg { (exit 1); exit 1; }; }; } 5139a850946eSmrgelse 5140a850946eSmrg XLSCLIENTS_CFLAGS=$pkg_cv_XLSCLIENTS_CFLAGS 5141a850946eSmrg XLSCLIENTS_LIBS=$pkg_cv_XLSCLIENTS_LIBS 514270f7c90cSmrg { $as_echo "$as_me:$LINENO: result: yes" >&5 514370f7c90cSmrg$as_echo "yes" >&6; } 5144a850946eSmrg : 5145a850946eSmrgfi 5146a850946eSmrg 5147a850946eSmrg 5148a850946eSmrg 514970f7c90cSmrgac_config_files="$ac_config_files Makefile" 5150a850946eSmrg 5151a850946eSmrgcat >confcache <<\_ACEOF 5152a850946eSmrg# This file is a shell script that caches the results of configure 5153a850946eSmrg# tests run on this system so they can be shared between configure 5154a850946eSmrg# scripts and configure runs, see configure's option --config-cache. 5155a850946eSmrg# It is not useful on other systems. If it contains results you don't 5156a850946eSmrg# want to keep, you may remove or edit it. 5157a850946eSmrg# 5158a850946eSmrg# config.status only pays attention to the cache file if you give it 5159a850946eSmrg# the --recheck option to rerun configure. 5160a850946eSmrg# 5161a850946eSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 5162a850946eSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 5163a850946eSmrg# following values. 5164a850946eSmrg 5165a850946eSmrg_ACEOF 5166a850946eSmrg 5167a850946eSmrg# The following way of writing the cache mishandles newlines in values, 5168a850946eSmrg# but we know of no workaround that is simple, portable, and efficient. 516970f7c90cSmrg# So, we kill variables containing newlines. 5170a850946eSmrg# Ultrix sh set writes to stderr and can't be redirected directly, 5171a850946eSmrg# and sets the high bit in the cache file unless we assign to the vars. 517270f7c90cSmrg( 517370f7c90cSmrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 517470f7c90cSmrg eval ac_val=\$$ac_var 517570f7c90cSmrg case $ac_val in #( 517670f7c90cSmrg *${as_nl}*) 517770f7c90cSmrg case $ac_var in #( 517870f7c90cSmrg *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 517970f7c90cSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 518070f7c90cSmrg esac 518170f7c90cSmrg case $ac_var in #( 518270f7c90cSmrg _ | IFS | as_nl) ;; #( 518370f7c90cSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 518470f7c90cSmrg *) $as_unset $ac_var ;; 518570f7c90cSmrg esac ;; 518670f7c90cSmrg esac 518770f7c90cSmrg done 518870f7c90cSmrg 5189a850946eSmrg (set) 2>&1 | 519070f7c90cSmrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 519170f7c90cSmrg *${as_nl}ac_space=\ *) 5192a850946eSmrg # `set' does not quote correctly, so add quotes (double-quote 5193a850946eSmrg # substitution turns \\\\ into \\, and sed turns \\ into \). 5194a850946eSmrg sed -n \ 5195a850946eSmrg "s/'/'\\\\''/g; 5196a850946eSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 519770f7c90cSmrg ;; #( 5198a850946eSmrg *) 5199a850946eSmrg # `set' quotes correctly as required by POSIX, so do not add quotes. 520070f7c90cSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 5201a850946eSmrg ;; 520270f7c90cSmrg esac | 520370f7c90cSmrg sort 520470f7c90cSmrg) | 5205a850946eSmrg sed ' 520670f7c90cSmrg /^ac_cv_env_/b end 5207a850946eSmrg t clear 520870f7c90cSmrg :clear 5209a850946eSmrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5210a850946eSmrg t end 521170f7c90cSmrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 521270f7c90cSmrg :end' >>confcache 521370f7c90cSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 521470f7c90cSmrg if test -w "$cache_file"; then 521570f7c90cSmrg test "x$cache_file" != "x/dev/null" && 521670f7c90cSmrg { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 521770f7c90cSmrg$as_echo "$as_me: updating cache $cache_file" >&6;} 5218a850946eSmrg cat confcache >$cache_file 5219a850946eSmrg else 522070f7c90cSmrg { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 522170f7c90cSmrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 5222a850946eSmrg fi 5223a850946eSmrgfi 5224a850946eSmrgrm -f confcache 5225a850946eSmrg 5226a850946eSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 5227a850946eSmrg# Let make expand exec_prefix. 5228a850946eSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5229a850946eSmrg 5230a850946eSmrgDEFS=-DHAVE_CONFIG_H 5231a850946eSmrg 5232a850946eSmrgac_libobjs= 5233a850946eSmrgac_ltlibobjs= 5234a850946eSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5235a850946eSmrg # 1. Remove the extension, and $U if already installed. 523670f7c90cSmrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 523770f7c90cSmrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 523870f7c90cSmrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 523970f7c90cSmrg # will be set to the directory where LIBOBJS objects are built. 524070f7c90cSmrg ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 524170f7c90cSmrg ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 5242a850946eSmrgdone 5243a850946eSmrgLIBOBJS=$ac_libobjs 5244a850946eSmrg 5245a850946eSmrgLTLIBOBJS=$ac_ltlibobjs 5246a850946eSmrg 5247a850946eSmrg 524870f7c90cSmrg if test -n "$EXEEXT"; then 524970f7c90cSmrg am__EXEEXT_TRUE= 525070f7c90cSmrg am__EXEEXT_FALSE='#' 525170f7c90cSmrgelse 525270f7c90cSmrg am__EXEEXT_TRUE='#' 525370f7c90cSmrg am__EXEEXT_FALSE= 525470f7c90cSmrgfi 525570f7c90cSmrg 5256a850946eSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 525770f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 5258a850946eSmrgUsually this means the macro was only invoked conditionally." >&5 525970f7c90cSmrg$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 5260a850946eSmrgUsually this means the macro was only invoked conditionally." >&2;} 5261a850946eSmrg { (exit 1); exit 1; }; } 5262a850946eSmrgfi 5263a850946eSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 526470f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 5265a850946eSmrgUsually this means the macro was only invoked conditionally." >&5 526670f7c90cSmrg$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 5267a850946eSmrgUsually this means the macro was only invoked conditionally." >&2;} 5268a850946eSmrg { (exit 1); exit 1; }; } 5269a850946eSmrgfi 5270a850946eSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 527170f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 5272a850946eSmrgUsually this means the macro was only invoked conditionally." >&5 527370f7c90cSmrg$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 5274a850946eSmrgUsually this means the macro was only invoked conditionally." >&2;} 5275a850946eSmrg { (exit 1); exit 1; }; } 5276a850946eSmrgfi 5277a850946eSmrg 5278a850946eSmrg: ${CONFIG_STATUS=./config.status} 527970f7c90cSmrgac_write_fail=0 5280a850946eSmrgac_clean_files_save=$ac_clean_files 5281a850946eSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 528270f7c90cSmrg{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 528370f7c90cSmrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 528470f7c90cSmrgcat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5285a850946eSmrg#! $SHELL 5286a850946eSmrg# Generated by $as_me. 5287a850946eSmrg# Run this file to recreate the current configuration. 5288a850946eSmrg# Compiler output produced by configure, useful for debugging 5289a850946eSmrg# configure, is in config.log if it exists. 5290a850946eSmrg 5291a850946eSmrgdebug=false 5292a850946eSmrgac_cs_recheck=false 5293a850946eSmrgac_cs_silent=false 5294a850946eSmrgSHELL=\${CONFIG_SHELL-$SHELL} 5295a850946eSmrg_ACEOF 5296a850946eSmrg 529770f7c90cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5298a850946eSmrg## --------------------- ## 5299a850946eSmrg## M4sh Initialization. ## 5300a850946eSmrg## --------------------- ## 5301a850946eSmrg 530270f7c90cSmrg# Be more Bourne compatible 530370f7c90cSmrgDUALCASE=1; export DUALCASE # for MKS sh 5304a850946eSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5305a850946eSmrg emulate sh 5306a850946eSmrg NULLCMD=: 530770f7c90cSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 5308a850946eSmrg # is contrary to our usage. Disable this feature. 5309a850946eSmrg alias -g '${1+"$@"}'='"$@"' 531070f7c90cSmrg setopt NO_GLOB_SUBST 531170f7c90cSmrgelse 531270f7c90cSmrg case `(set -o) 2>/dev/null` in 531370f7c90cSmrg *posix*) set -o posix ;; 531470f7c90cSmrgesac 531570f7c90cSmrg 531670f7c90cSmrgfi 531770f7c90cSmrg 531870f7c90cSmrg 531970f7c90cSmrg 532070f7c90cSmrg 532170f7c90cSmrg# PATH needs CR 532270f7c90cSmrg# Avoid depending upon Character Ranges. 532370f7c90cSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 532470f7c90cSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 532570f7c90cSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 532670f7c90cSmrgas_cr_digits='0123456789' 532770f7c90cSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 532870f7c90cSmrg 532970f7c90cSmrgas_nl=' 533070f7c90cSmrg' 533170f7c90cSmrgexport as_nl 533270f7c90cSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 533370f7c90cSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 533470f7c90cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 533570f7c90cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 533670f7c90cSmrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 533770f7c90cSmrg as_echo='printf %s\n' 533870f7c90cSmrg as_echo_n='printf %s' 533970f7c90cSmrgelse 534070f7c90cSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 534170f7c90cSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 534270f7c90cSmrg as_echo_n='/usr/ucb/echo -n' 534370f7c90cSmrg else 534470f7c90cSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 534570f7c90cSmrg as_echo_n_body='eval 534670f7c90cSmrg arg=$1; 534770f7c90cSmrg case $arg in 534870f7c90cSmrg *"$as_nl"*) 534970f7c90cSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 535070f7c90cSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 535170f7c90cSmrg esac; 535270f7c90cSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 535370f7c90cSmrg ' 535470f7c90cSmrg export as_echo_n_body 535570f7c90cSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 535670f7c90cSmrg fi 535770f7c90cSmrg export as_echo_body 535870f7c90cSmrg as_echo='sh -c $as_echo_body as_echo' 535970f7c90cSmrgfi 536070f7c90cSmrg 536170f7c90cSmrg# The user is always right. 536270f7c90cSmrgif test "${PATH_SEPARATOR+set}" != set; then 536370f7c90cSmrg PATH_SEPARATOR=: 536470f7c90cSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 536570f7c90cSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 536670f7c90cSmrg PATH_SEPARATOR=';' 536770f7c90cSmrg } 5368a850946eSmrgfi 5369a850946eSmrg 5370a850946eSmrg# Support unset when possible. 5371a850946eSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5372a850946eSmrg as_unset=unset 5373a850946eSmrgelse 5374a850946eSmrg as_unset=false 5375a850946eSmrgfi 5376a850946eSmrg 5377a850946eSmrg 537870f7c90cSmrg# IFS 537970f7c90cSmrg# We need space, tab and new line, in precisely that order. Quoting is 538070f7c90cSmrg# there to prevent editors from complaining about space-tab. 538170f7c90cSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 538270f7c90cSmrg# splitting by setting IFS to empty value.) 538370f7c90cSmrgIFS=" "" $as_nl" 538470f7c90cSmrg 538570f7c90cSmrg# Find who we are. Look in the path if we contain no directory separator. 538670f7c90cSmrgcase $0 in 538770f7c90cSmrg *[\\/]* ) as_myself=$0 ;; 538870f7c90cSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 538970f7c90cSmrgfor as_dir in $PATH 539070f7c90cSmrgdo 539170f7c90cSmrg IFS=$as_save_IFS 539270f7c90cSmrg test -z "$as_dir" && as_dir=. 539370f7c90cSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 539470f7c90cSmrgdone 539570f7c90cSmrgIFS=$as_save_IFS 539670f7c90cSmrg 539770f7c90cSmrg ;; 539870f7c90cSmrgesac 539970f7c90cSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 540070f7c90cSmrg# in which case we are not to be found in the path. 540170f7c90cSmrgif test "x$as_myself" = x; then 540270f7c90cSmrg as_myself=$0 540370f7c90cSmrgfi 540470f7c90cSmrgif test ! -f "$as_myself"; then 540570f7c90cSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 540670f7c90cSmrg { (exit 1); exit 1; } 540770f7c90cSmrgfi 540870f7c90cSmrg 5409a850946eSmrg# Work around bugs in pre-3.0 UWIN ksh. 541070f7c90cSmrgfor as_var in ENV MAIL MAILPATH 541170f7c90cSmrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 541270f7c90cSmrgdone 5413a850946eSmrgPS1='$ ' 5414a850946eSmrgPS2='> ' 5415a850946eSmrgPS4='+ ' 5416a850946eSmrg 5417a850946eSmrg# NLS nuisances. 541870f7c90cSmrgLC_ALL=C 541970f7c90cSmrgexport LC_ALL 542070f7c90cSmrgLANGUAGE=C 542170f7c90cSmrgexport LANGUAGE 5422a850946eSmrg 5423a850946eSmrg# Required to use basename. 542470f7c90cSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 542570f7c90cSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5426a850946eSmrg as_expr=expr 5427a850946eSmrgelse 5428a850946eSmrg as_expr=false 5429a850946eSmrgfi 5430a850946eSmrg 543170f7c90cSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5432a850946eSmrg as_basename=basename 5433a850946eSmrgelse 5434a850946eSmrg as_basename=false 5435a850946eSmrgfi 5436a850946eSmrg 5437a850946eSmrg 5438a850946eSmrg# Name of the executable. 543970f7c90cSmrgas_me=`$as_basename -- "$0" || 5440a850946eSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5441a850946eSmrg X"$0" : 'X\(//\)$' \| \ 544270f7c90cSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 544370f7c90cSmrg$as_echo X/"$0" | 544470f7c90cSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 544570f7c90cSmrg s//\1/ 544670f7c90cSmrg q 544770f7c90cSmrg } 544870f7c90cSmrg /^X\/\(\/\/\)$/{ 544970f7c90cSmrg s//\1/ 545070f7c90cSmrg q 545170f7c90cSmrg } 545270f7c90cSmrg /^X\/\(\/\).*/{ 545370f7c90cSmrg s//\1/ 545470f7c90cSmrg q 545570f7c90cSmrg } 545670f7c90cSmrg s/.*/./; q'` 5457a850946eSmrg 545870f7c90cSmrg# CDPATH. 545970f7c90cSmrg$as_unset CDPATH 5460a850946eSmrg 5461a850946eSmrg 5462a850946eSmrg 5463a850946eSmrg as_lineno_1=$LINENO 5464a850946eSmrg as_lineno_2=$LINENO 5465a850946eSmrg test "x$as_lineno_1" != "x$as_lineno_2" && 546670f7c90cSmrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 5467a850946eSmrg 5468a850946eSmrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 5469a850946eSmrg # uniformly replaced by the line number. The first 'sed' inserts a 547070f7c90cSmrg # line-number line after each line using $LINENO; the second 'sed' 547170f7c90cSmrg # does the real work. The second script uses 'N' to pair each 547270f7c90cSmrg # line-number line with the line containing $LINENO, and appends 547370f7c90cSmrg # trailing '-' during substitution so that $LINENO is not a special 547470f7c90cSmrg # case at line end. 5475a850946eSmrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 547670f7c90cSmrg # scripts with optimization help from Paolo Bonzini. Blame Lee 547770f7c90cSmrg # E. McMahon (1931-1989) for sed's syntax. :-) 547870f7c90cSmrg sed -n ' 547970f7c90cSmrg p 548070f7c90cSmrg /[$]LINENO/= 548170f7c90cSmrg ' <$as_myself | 5482a850946eSmrg sed ' 548370f7c90cSmrg s/[$]LINENO.*/&-/ 548470f7c90cSmrg t lineno 548570f7c90cSmrg b 548670f7c90cSmrg :lineno 5487a850946eSmrg N 548870f7c90cSmrg :loop 548970f7c90cSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 5490a850946eSmrg t loop 549170f7c90cSmrg s/-\n.*// 5492a850946eSmrg ' >$as_me.lineno && 549370f7c90cSmrg chmod +x "$as_me.lineno" || 549470f7c90cSmrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 5495a850946eSmrg { (exit 1); exit 1; }; } 5496a850946eSmrg 5497a850946eSmrg # Don't try to exec as it changes $[0], causing all sort of problems 5498a850946eSmrg # (the dirname of $[0] is not the place where we might find the 549970f7c90cSmrg # original and so on. Autoconf is especially sensitive to this). 550070f7c90cSmrg . "./$as_me.lineno" 5501a850946eSmrg # Exit status is that of the last command. 5502a850946eSmrg exit 5503a850946eSmrg} 5504a850946eSmrg 5505a850946eSmrg 550670f7c90cSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 550770f7c90cSmrg as_dirname=dirname 550870f7c90cSmrgelse 550970f7c90cSmrg as_dirname=false 551070f7c90cSmrgfi 5511a850946eSmrg 551270f7c90cSmrgECHO_C= ECHO_N= ECHO_T= 551370f7c90cSmrgcase `echo -n x` in 551470f7c90cSmrg-n*) 551570f7c90cSmrg case `echo 'x\c'` in 551670f7c90cSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 551770f7c90cSmrg *) ECHO_C='\c';; 551870f7c90cSmrg esac;; 551970f7c90cSmrg*) 552070f7c90cSmrg ECHO_N='-n';; 552170f7c90cSmrgesac 552270f7c90cSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 552370f7c90cSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5524a850946eSmrg as_expr=expr 5525a850946eSmrgelse 5526a850946eSmrg as_expr=false 5527a850946eSmrgfi 5528a850946eSmrg 5529a850946eSmrgrm -f conf$$ conf$$.exe conf$$.file 553070f7c90cSmrgif test -d conf$$.dir; then 553170f7c90cSmrg rm -f conf$$.dir/conf$$.file 553270f7c90cSmrgelse 553370f7c90cSmrg rm -f conf$$.dir 553470f7c90cSmrg mkdir conf$$.dir 2>/dev/null 553570f7c90cSmrgfi 553670f7c90cSmrgif (echo >conf$$.file) 2>/dev/null; then 553770f7c90cSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5538a850946eSmrg as_ln_s='ln -s' 553970f7c90cSmrg # ... but there are two gotchas: 554070f7c90cSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 554170f7c90cSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 554270f7c90cSmrg # In both cases, we have to default to `cp -p'. 554370f7c90cSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 554470f7c90cSmrg as_ln_s='cp -p' 554570f7c90cSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 554670f7c90cSmrg as_ln_s=ln 554770f7c90cSmrg else 554870f7c90cSmrg as_ln_s='cp -p' 5549a850946eSmrg fi 5550a850946eSmrgelse 5551a850946eSmrg as_ln_s='cp -p' 5552a850946eSmrgfi 555370f7c90cSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 555470f7c90cSmrgrmdir conf$$.dir 2>/dev/null 5555a850946eSmrg 5556a850946eSmrgif mkdir -p . 2>/dev/null; then 5557a850946eSmrg as_mkdir_p=: 5558a850946eSmrgelse 5559a850946eSmrg test -d ./-p && rmdir ./-p 5560a850946eSmrg as_mkdir_p=false 5561a850946eSmrgfi 5562a850946eSmrg 556370f7c90cSmrgif test -x / >/dev/null 2>&1; then 556470f7c90cSmrg as_test_x='test -x' 556570f7c90cSmrgelse 556670f7c90cSmrg if ls -dL / >/dev/null 2>&1; then 556770f7c90cSmrg as_ls_L_option=L 556870f7c90cSmrg else 556970f7c90cSmrg as_ls_L_option= 557070f7c90cSmrg fi 557170f7c90cSmrg as_test_x=' 557270f7c90cSmrg eval sh -c '\'' 557370f7c90cSmrg if test -d "$1"; then 557470f7c90cSmrg test -d "$1/."; 557570f7c90cSmrg else 557670f7c90cSmrg case $1 in 557770f7c90cSmrg -*)set "./$1";; 557870f7c90cSmrg esac; 557970f7c90cSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 558070f7c90cSmrg ???[sx]*):;;*)false;;esac;fi 558170f7c90cSmrg '\'' sh 558270f7c90cSmrg ' 558370f7c90cSmrgfi 558470f7c90cSmrgas_executable_p=$as_test_x 5585a850946eSmrg 5586a850946eSmrg# Sed expression to map a string onto a valid CPP name. 5587a850946eSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5588a850946eSmrg 5589a850946eSmrg# Sed expression to map a string onto a valid variable name. 5590a850946eSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5591a850946eSmrg 5592a850946eSmrg 5593a850946eSmrgexec 6>&1 5594a850946eSmrg 559570f7c90cSmrg# Save the log message, to keep $[0] and so on meaningful, and to 5596a850946eSmrg# report actual input values of CONFIG_FILES etc. instead of their 559770f7c90cSmrg# values after options handling. 559870f7c90cSmrgac_log=" 559970f7c90cSmrgThis file was extended by xlsclients $as_me 1.0.2, which was 560070f7c90cSmrggenerated by GNU Autoconf 2.63. Invocation command line was 5601a850946eSmrg 5602a850946eSmrg CONFIG_FILES = $CONFIG_FILES 5603a850946eSmrg CONFIG_HEADERS = $CONFIG_HEADERS 5604a850946eSmrg CONFIG_LINKS = $CONFIG_LINKS 5605a850946eSmrg CONFIG_COMMANDS = $CONFIG_COMMANDS 5606a850946eSmrg $ $0 $@ 5607a850946eSmrg 560870f7c90cSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 560970f7c90cSmrg" 561070f7c90cSmrg 5611a850946eSmrg_ACEOF 5612a850946eSmrg 561370f7c90cSmrgcase $ac_config_files in *" 561470f7c90cSmrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 561570f7c90cSmrgesac 5616a850946eSmrg 561770f7c90cSmrgcase $ac_config_headers in *" 561870f7c90cSmrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 561970f7c90cSmrgesac 5620a850946eSmrg 5621a850946eSmrg 562270f7c90cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 562370f7c90cSmrg# Files that config.status was made for. 562470f7c90cSmrgconfig_files="$ac_config_files" 562570f7c90cSmrgconfig_headers="$ac_config_headers" 562670f7c90cSmrgconfig_commands="$ac_config_commands" 5627a850946eSmrg 562870f7c90cSmrg_ACEOF 5629a850946eSmrg 563070f7c90cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5631a850946eSmrgac_cs_usage="\ 5632a850946eSmrg\`$as_me' instantiates files from templates according to the 5633a850946eSmrgcurrent configuration. 5634a850946eSmrg 563570f7c90cSmrgUsage: $0 [OPTION]... [FILE]... 5636a850946eSmrg 5637a850946eSmrg -h, --help print this help, then exit 563870f7c90cSmrg -V, --version print version number and configuration settings, then exit 563970f7c90cSmrg -q, --quiet, --silent 564070f7c90cSmrg do not print progress messages 5641a850946eSmrg -d, --debug don't remove temporary files 5642a850946eSmrg --recheck update $as_me by reconfiguring in the same conditions 564370f7c90cSmrg --file=FILE[:TEMPLATE] 564470f7c90cSmrg instantiate the configuration file FILE 564570f7c90cSmrg --header=FILE[:TEMPLATE] 564670f7c90cSmrg instantiate the configuration header FILE 5647a850946eSmrg 5648a850946eSmrgConfiguration files: 5649a850946eSmrg$config_files 5650a850946eSmrg 5651a850946eSmrgConfiguration headers: 5652a850946eSmrg$config_headers 5653a850946eSmrg 5654a850946eSmrgConfiguration commands: 5655a850946eSmrg$config_commands 5656a850946eSmrg 5657a850946eSmrgReport bugs to <bug-autoconf@gnu.org>." 5658a850946eSmrg 565970f7c90cSmrg_ACEOF 566070f7c90cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5661a850946eSmrgac_cs_version="\\ 566270f7c90cSmrgxlsclients config.status 1.0.2 566370f7c90cSmrgconfigured by $0, generated by GNU Autoconf 2.63, 566470f7c90cSmrg with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 5665a850946eSmrg 566670f7c90cSmrgCopyright (C) 2008 Free Software Foundation, Inc. 5667a850946eSmrgThis config.status script is free software; the Free Software Foundation 5668a850946eSmrggives unlimited permission to copy, distribute and modify it." 566970f7c90cSmrg 567070f7c90cSmrgac_pwd='$ac_pwd' 567170f7c90cSmrgsrcdir='$srcdir' 567270f7c90cSmrgINSTALL='$INSTALL' 567370f7c90cSmrgMKDIR_P='$MKDIR_P' 567470f7c90cSmrgAWK='$AWK' 567570f7c90cSmrgtest -n "\$AWK" || AWK=awk 5676a850946eSmrg_ACEOF 5677a850946eSmrg 567870f7c90cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 567970f7c90cSmrg# The default lists apply if the user does not specify any file. 5680a850946eSmrgac_need_defaults=: 5681a850946eSmrgwhile test $# != 0 5682a850946eSmrgdo 5683a850946eSmrg case $1 in 5684a850946eSmrg --*=*) 568570f7c90cSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 568670f7c90cSmrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5687a850946eSmrg ac_shift=: 5688a850946eSmrg ;; 568970f7c90cSmrg *) 5690a850946eSmrg ac_option=$1 5691a850946eSmrg ac_optarg=$2 5692a850946eSmrg ac_shift=shift 5693a850946eSmrg ;; 5694a850946eSmrg esac 5695a850946eSmrg 5696a850946eSmrg case $ac_option in 5697a850946eSmrg # Handling of the options. 5698a850946eSmrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5699a850946eSmrg ac_cs_recheck=: ;; 570070f7c90cSmrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 570170f7c90cSmrg $as_echo "$ac_cs_version"; exit ;; 570270f7c90cSmrg --debug | --debu | --deb | --de | --d | -d ) 5703a850946eSmrg debug=: ;; 5704a850946eSmrg --file | --fil | --fi | --f ) 5705a850946eSmrg $ac_shift 570670f7c90cSmrg case $ac_optarg in 570770f7c90cSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 570870f7c90cSmrg esac 570970f7c90cSmrg CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 5710a850946eSmrg ac_need_defaults=false;; 5711a850946eSmrg --header | --heade | --head | --hea ) 5712a850946eSmrg $ac_shift 571370f7c90cSmrg case $ac_optarg in 571470f7c90cSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 571570f7c90cSmrg esac 571670f7c90cSmrg CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 5717a850946eSmrg ac_need_defaults=false;; 571870f7c90cSmrg --he | --h) 571970f7c90cSmrg # Conflict between --help and --header 572070f7c90cSmrg { $as_echo "$as_me: error: ambiguous option: $1 572170f7c90cSmrgTry \`$0 --help' for more information." >&2 572270f7c90cSmrg { (exit 1); exit 1; }; };; 572370f7c90cSmrg --help | --hel | -h ) 572470f7c90cSmrg $as_echo "$ac_cs_usage"; exit ;; 5725a850946eSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5726a850946eSmrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 5727a850946eSmrg ac_cs_silent=: ;; 5728a850946eSmrg 5729a850946eSmrg # This is an error. 573070f7c90cSmrg -*) { $as_echo "$as_me: error: unrecognized option: $1 573170f7c90cSmrgTry \`$0 --help' for more information." >&2 5732a850946eSmrg { (exit 1); exit 1; }; } ;; 5733a850946eSmrg 573470f7c90cSmrg *) ac_config_targets="$ac_config_targets $1" 573570f7c90cSmrg ac_need_defaults=false ;; 5736a850946eSmrg 5737a850946eSmrg esac 5738a850946eSmrg shift 5739a850946eSmrgdone 5740a850946eSmrg 5741a850946eSmrgac_configure_extra_args= 5742a850946eSmrg 5743a850946eSmrgif $ac_cs_silent; then 5744a850946eSmrg exec 6>/dev/null 5745a850946eSmrg ac_configure_extra_args="$ac_configure_extra_args --silent" 5746a850946eSmrgfi 5747a850946eSmrg 5748a850946eSmrg_ACEOF 574970f7c90cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5750a850946eSmrgif \$ac_cs_recheck; then 575170f7c90cSmrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 575270f7c90cSmrg shift 575370f7c90cSmrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 575470f7c90cSmrg CONFIG_SHELL='$SHELL' 575570f7c90cSmrg export CONFIG_SHELL 575670f7c90cSmrg exec "\$@" 5757a850946eSmrgfi 5758a850946eSmrg 5759a850946eSmrg_ACEOF 576070f7c90cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 576170f7c90cSmrgexec 5>>config.log 576270f7c90cSmrg{ 576370f7c90cSmrg echo 576470f7c90cSmrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 576570f7c90cSmrg## Running $as_me. ## 576670f7c90cSmrg_ASBOX 576770f7c90cSmrg $as_echo "$ac_log" 576870f7c90cSmrg} >&5 5769a850946eSmrg 577070f7c90cSmrg_ACEOF 577170f7c90cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5772a850946eSmrg# 577370f7c90cSmrg# INIT-COMMANDS 5774a850946eSmrg# 5775a850946eSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5776a850946eSmrg 5777a850946eSmrg_ACEOF 5778a850946eSmrg 577970f7c90cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5780a850946eSmrg 578170f7c90cSmrg# Handling of arguments. 5782a850946eSmrgfor ac_config_target in $ac_config_targets 5783a850946eSmrgdo 578470f7c90cSmrg case $ac_config_target in 578570f7c90cSmrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 578670f7c90cSmrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 578770f7c90cSmrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 578870f7c90cSmrg 578970f7c90cSmrg *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 579070f7c90cSmrg$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 5791a850946eSmrg { (exit 1); exit 1; }; };; 5792a850946eSmrg esac 5793a850946eSmrgdone 5794a850946eSmrg 579570f7c90cSmrg 5796a850946eSmrg# If the user did not use the arguments to specify the items to instantiate, 5797a850946eSmrg# then the envvar interface is used. Set only those that are not. 5798a850946eSmrg# We use the long form for the default assignment because of an extremely 5799a850946eSmrg# bizarre bug on SunOS 4.1.3. 5800a850946eSmrgif $ac_need_defaults; then 5801a850946eSmrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5802a850946eSmrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5803a850946eSmrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5804a850946eSmrgfi 5805a850946eSmrg 5806a850946eSmrg# Have a temporary directory for convenience. Make it in the build tree 580770f7c90cSmrg# simply because there is no reason against having it here, and in addition, 5808a850946eSmrg# creating and moving files from /tmp can sometimes cause problems. 580970f7c90cSmrg# Hook for its removal unless debugging. 581070f7c90cSmrg# Note that there is a small window in which the directory will not be cleaned: 581170f7c90cSmrg# after its creation but before its name has been assigned to `$tmp'. 5812a850946eSmrg$debug || 5813a850946eSmrg{ 581470f7c90cSmrg tmp= 581570f7c90cSmrg trap 'exit_status=$? 581670f7c90cSmrg { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 581770f7c90cSmrg' 0 5818a850946eSmrg trap '{ (exit 1); exit 1; }' 1 2 13 15 5819a850946eSmrg} 5820a850946eSmrg# Create a (secure) tmp directory for tmp files. 5821a850946eSmrg 5822a850946eSmrg{ 582370f7c90cSmrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5824a850946eSmrg test -n "$tmp" && test -d "$tmp" 5825a850946eSmrg} || 5826a850946eSmrg{ 582770f7c90cSmrg tmp=./conf$$-$RANDOM 582870f7c90cSmrg (umask 077 && mkdir "$tmp") 5829a850946eSmrg} || 5830a850946eSmrg{ 583170f7c90cSmrg $as_echo "$as_me: cannot create a temporary directory in ." >&2 5832a850946eSmrg { (exit 1); exit 1; } 5833a850946eSmrg} 5834a850946eSmrg 583570f7c90cSmrg# Set up the scripts for CONFIG_FILES section. 583670f7c90cSmrg# No need to generate them if there are no CONFIG_FILES. 583770f7c90cSmrg# This happens for instance with `./config.status config.h'. 583870f7c90cSmrgif test -n "$CONFIG_FILES"; then 583970f7c90cSmrg 584070f7c90cSmrg 584170f7c90cSmrgac_cr=' 584270f7c90cSmrg' 584370f7c90cSmrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 584470f7c90cSmrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 584570f7c90cSmrg ac_cs_awk_cr='\\r' 584670f7c90cSmrgelse 584770f7c90cSmrg ac_cs_awk_cr=$ac_cr 584870f7c90cSmrgfi 584970f7c90cSmrg 5850a850946eSmrgecho 'BEGIN {' >"$tmp/subs1.awk" && 5851a850946eSmrg_ACEOF 5852a850946eSmrg 585370f7c90cSmrg 585470f7c90cSmrg{ 585570f7c90cSmrg echo "cat >conf$$subs.awk <<_ACEOF" && 585670f7c90cSmrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 585770f7c90cSmrg echo "_ACEOF" 585870f7c90cSmrg} >conf$$subs.sh || 585970f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 586070f7c90cSmrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 586170f7c90cSmrg { (exit 1); exit 1; }; } 586270f7c90cSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 586370f7c90cSmrgac_delim='%!_!# ' 586470f7c90cSmrgfor ac_last_try in false false false false false :; do 586570f7c90cSmrg . ./conf$$subs.sh || 586670f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 586770f7c90cSmrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 5868a850946eSmrg { (exit 1); exit 1; }; } 586970f7c90cSmrg 587070f7c90cSmrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 587170f7c90cSmrg if test $ac_delim_n = $ac_delim_num; then 587270f7c90cSmrg break 587370f7c90cSmrg elif $ac_last_try; then 587470f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 587570f7c90cSmrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 587670f7c90cSmrg { (exit 1); exit 1; }; } 587770f7c90cSmrg else 587870f7c90cSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 587970f7c90cSmrg fi 588070f7c90cSmrgdone 5881a850946eSmrgrm -f conf$$subs.sh 588270f7c90cSmrg 588370f7c90cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5884a850946eSmrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK && 588570f7c90cSmrg_ACEOF 588670f7c90cSmrgsed -n ' 588770f7c90cSmrgh 588870f7c90cSmrgs/^/S["/; s/!.*/"]=/ 588970f7c90cSmrgp 589070f7c90cSmrgg 589170f7c90cSmrgs/^[^!]*!// 589270f7c90cSmrg:repl 589370f7c90cSmrgt repl 589470f7c90cSmrgs/'"$ac_delim"'$// 589570f7c90cSmrgt delim 589670f7c90cSmrg:nl 589770f7c90cSmrgh 589870f7c90cSmrgs/\(.\{148\}\).*/\1/ 589970f7c90cSmrgt more1 590070f7c90cSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 590170f7c90cSmrgp 590270f7c90cSmrgn 590370f7c90cSmrgb repl 590470f7c90cSmrg:more1 590570f7c90cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 590670f7c90cSmrgp 590770f7c90cSmrgg 590870f7c90cSmrgs/.\{148\}// 590970f7c90cSmrgt nl 591070f7c90cSmrg:delim 591170f7c90cSmrgh 591270f7c90cSmrgs/\(.\{148\}\).*/\1/ 591370f7c90cSmrgt more2 591470f7c90cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 591570f7c90cSmrgp 591670f7c90cSmrgb 591770f7c90cSmrg:more2 591870f7c90cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 591970f7c90cSmrgp 592070f7c90cSmrgg 592170f7c90cSmrgs/.\{148\}// 592270f7c90cSmrgt delim 592370f7c90cSmrg' <conf$$subs.awk | sed ' 592470f7c90cSmrg/^[^""]/{ 592570f7c90cSmrg N 592670f7c90cSmrg s/\n// 592770f7c90cSmrg} 592870f7c90cSmrg' >>$CONFIG_STATUS || ac_write_fail=1 592970f7c90cSmrgrm -f conf$$subs.awk 593070f7c90cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 593170f7c90cSmrg_ACAWK 593270f7c90cSmrgcat >>"\$tmp/subs1.awk" <<_ACAWK && 593370f7c90cSmrg for (key in S) S_is_set[key] = 1 5934a850946eSmrg FS = "" 593570f7c90cSmrg 593670f7c90cSmrg} 593770f7c90cSmrg{ 593870f7c90cSmrg line = $ 0 593970f7c90cSmrg nfields = split(line, field, "@") 594070f7c90cSmrg substed = 0 594170f7c90cSmrg len = length(field[1]) 594270f7c90cSmrg for (i = 2; i < nfields; i++) { 594370f7c90cSmrg key = field[i] 594470f7c90cSmrg keylen = length(key) 594570f7c90cSmrg if (S_is_set[key]) { 594670f7c90cSmrg value = S[key] 594770f7c90cSmrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 594870f7c90cSmrg len += length(value) + length(field[++i]) 594970f7c90cSmrg substed = 1 595070f7c90cSmrg } else 595170f7c90cSmrg len += 1 + keylen 595270f7c90cSmrg } 595370f7c90cSmrg 595470f7c90cSmrg print line 595570f7c90cSmrg} 595670f7c90cSmrg 595770f7c90cSmrg_ACAWK 595870f7c90cSmrg_ACEOF 595970f7c90cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 596070f7c90cSmrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 596170f7c90cSmrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 596270f7c90cSmrgelse 596370f7c90cSmrg cat 596470f7c90cSmrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 596570f7c90cSmrg || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 596670f7c90cSmrg$as_echo "$as_me: error: could not setup config files machinery" >&2;} 596770f7c90cSmrg { (exit 1); exit 1; }; } 596870f7c90cSmrg_ACEOF 596970f7c90cSmrg 597070f7c90cSmrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 597170f7c90cSmrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 597270f7c90cSmrg# trailing colons and then remove the whole line if VPATH becomes empty 597370f7c90cSmrg# (actually we leave an empty line to preserve line numbers). 597470f7c90cSmrgif test "x$srcdir" = x.; then 597570f7c90cSmrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 597670f7c90cSmrgs/:*\$(srcdir):*/:/ 597770f7c90cSmrgs/:*\${srcdir}:*/:/ 597870f7c90cSmrgs/:*@srcdir@:*/:/ 597970f7c90cSmrgs/^\([^=]*=[ ]*\):*/\1/ 598070f7c90cSmrgs/:*$// 598170f7c90cSmrgs/^[^=]*=[ ]*$// 598270f7c90cSmrg}' 598370f7c90cSmrgfi 598470f7c90cSmrg 5985a850946eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5986a850946eSmrgfi # test -n "$CONFIG_FILES" 598770f7c90cSmrg 598870f7c90cSmrg# Set up the scripts for CONFIG_HEADERS section. 598970f7c90cSmrg# No need to generate them if there are no CONFIG_HEADERS. 599070f7c90cSmrg# This happens for instance with `./config.status Makefile'. 599170f7c90cSmrgif test -n "$CONFIG_HEADERS"; then 599270f7c90cSmrgcat >"$tmp/defines.awk" <<\_ACAWK || 5993a850946eSmrgBEGIN { 599470f7c90cSmrg_ACEOF 599570f7c90cSmrg 599670f7c90cSmrg# Transform confdefs.h into an awk script `defines.awk', embedded as 599770f7c90cSmrg# here-document in config.status, that substitutes the proper values into 599870f7c90cSmrg# config.h.in to produce config.h. 599970f7c90cSmrg 600070f7c90cSmrg# Create a delimiter string that does not exist in confdefs.h, to ease 600170f7c90cSmrg# handling of long lines. 600270f7c90cSmrgac_delim='%!_!# ' 600370f7c90cSmrgfor ac_last_try in false false :; do 600470f7c90cSmrg ac_t=`sed -n "/$ac_delim/p" confdefs.h` 600570f7c90cSmrg if test -z "$ac_t"; then 600670f7c90cSmrg break 600770f7c90cSmrg elif $ac_last_try; then 600870f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 600970f7c90cSmrg$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 601070f7c90cSmrg { (exit 1); exit 1; }; } 601170f7c90cSmrg else 601270f7c90cSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 601370f7c90cSmrg fi 601470f7c90cSmrgdone 601570f7c90cSmrg 601670f7c90cSmrg# For the awk script, D is an array of macro values keyed by name, 601770f7c90cSmrg# likewise P contains macro parameters if any. Preserve backslash 601870f7c90cSmrg# newline sequences. 601970f7c90cSmrg 602070f7c90cSmrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 602170f7c90cSmrgsed -n ' 602270f7c90cSmrgs/.\{148\}/&'"$ac_delim"'/g 602370f7c90cSmrgt rset 602470f7c90cSmrg:rset 602570f7c90cSmrgs/^[ ]*#[ ]*define[ ][ ]*/ / 602670f7c90cSmrgt def 602770f7c90cSmrgd 602870f7c90cSmrg:def 602970f7c90cSmrgs/\\$// 603070f7c90cSmrgt bsnl 603170f7c90cSmrgs/["\\]/\\&/g 603270f7c90cSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 603370f7c90cSmrgD["\1"]=" \3"/p 603470f7c90cSmrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 603570f7c90cSmrgd 603670f7c90cSmrg:bsnl 603770f7c90cSmrgs/["\\]/\\&/g 603870f7c90cSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 603970f7c90cSmrgD["\1"]=" \3\\\\\\n"\\/p 604070f7c90cSmrgt cont 604170f7c90cSmrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 604270f7c90cSmrgt cont 604370f7c90cSmrgd 604470f7c90cSmrg:cont 604570f7c90cSmrgn 604670f7c90cSmrgs/.\{148\}/&'"$ac_delim"'/g 604770f7c90cSmrgt clear 604870f7c90cSmrg:clear 604970f7c90cSmrgs/\\$// 605070f7c90cSmrgt bsnlc 605170f7c90cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 605270f7c90cSmrgd 605370f7c90cSmrg:bsnlc 605470f7c90cSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 605570f7c90cSmrgb cont 605670f7c90cSmrg' <confdefs.h | sed ' 605770f7c90cSmrgs/'"$ac_delim"'/"\\\ 605870f7c90cSmrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 605970f7c90cSmrg 606070f7c90cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 606170f7c90cSmrg for (key in D) D_is_set[key] = 1 606270f7c90cSmrg FS = "" 606370f7c90cSmrg} 606470f7c90cSmrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 606570f7c90cSmrg line = \$ 0 606670f7c90cSmrg split(line, arg, " ") 606770f7c90cSmrg if (arg[1] == "#") { 606870f7c90cSmrg defundef = arg[2] 606970f7c90cSmrg mac1 = arg[3] 607070f7c90cSmrg } else { 607170f7c90cSmrg defundef = substr(arg[1], 2) 607270f7c90cSmrg mac1 = arg[2] 607370f7c90cSmrg } 607470f7c90cSmrg split(mac1, mac2, "(") #) 607570f7c90cSmrg macro = mac2[1] 607670f7c90cSmrg prefix = substr(line, 1, index(line, defundef) - 1) 607770f7c90cSmrg if (D_is_set[macro]) { 607870f7c90cSmrg # Preserve the white space surrounding the "#". 607970f7c90cSmrg print prefix "define", macro P[macro] D[macro] 608070f7c90cSmrg next 608170f7c90cSmrg } else { 608270f7c90cSmrg # Replace #undef with comments. This is necessary, for example, 608370f7c90cSmrg # in the case of _POSIX_SOURCE, which is predefined and required 608470f7c90cSmrg # on some systems where configure will not decide to define it. 608570f7c90cSmrg if (defundef == "undef") { 608670f7c90cSmrg print "/*", prefix defundef, macro, "*/" 608770f7c90cSmrg next 608870f7c90cSmrg } 608970f7c90cSmrg } 609070f7c90cSmrg} 609170f7c90cSmrg{ print } 609270f7c90cSmrg_ACAWK 609370f7c90cSmrg_ACEOF 609470f7c90cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 609570f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 609670f7c90cSmrg$as_echo "$as_me: error: could not setup config headers machinery" >&2;} 609770f7c90cSmrg { (exit 1); exit 1; }; } 609870f7c90cSmrgfi # test -n "$CONFIG_HEADERS" 609970f7c90cSmrg 610070f7c90cSmrg 610170f7c90cSmrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 610270f7c90cSmrgshift 610370f7c90cSmrgfor ac_tag 610470f7c90cSmrgdo 610570f7c90cSmrg case $ac_tag in 610670f7c90cSmrg :[FHLC]) ac_mode=$ac_tag; continue;; 610770f7c90cSmrg esac 610870f7c90cSmrg case $ac_mode$ac_tag in 610970f7c90cSmrg :[FHL]*:*);; 611070f7c90cSmrg :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 611170f7c90cSmrg$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 611270f7c90cSmrg { (exit 1); exit 1; }; };; 611370f7c90cSmrg :[FH]-) ac_tag=-:-;; 611470f7c90cSmrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 611570f7c90cSmrg esac 611670f7c90cSmrg ac_save_IFS=$IFS 611770f7c90cSmrg IFS=: 611870f7c90cSmrg set x $ac_tag 611970f7c90cSmrg IFS=$ac_save_IFS 612070f7c90cSmrg shift 612170f7c90cSmrg ac_file=$1 612270f7c90cSmrg shift 612370f7c90cSmrg 612470f7c90cSmrg case $ac_mode in 612570f7c90cSmrg :L) ac_source=$1;; 612670f7c90cSmrg :[FH]) 612770f7c90cSmrg ac_file_inputs= 612870f7c90cSmrg for ac_f 612970f7c90cSmrg do 613070f7c90cSmrg case $ac_f in 613170f7c90cSmrg -) ac_f="$tmp/stdin";; 613270f7c90cSmrg *) # Look for the file first in the build tree, then in the source tree 613370f7c90cSmrg # (if the path is not absolute). The absolute path cannot be DOS-style, 613470f7c90cSmrg # because $ac_f cannot contain `:'. 613570f7c90cSmrg test -f "$ac_f" || 613670f7c90cSmrg case $ac_f in 613770f7c90cSmrg [\\/$]*) false;; 613870f7c90cSmrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 613970f7c90cSmrg esac || 614070f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 614170f7c90cSmrg$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 614270f7c90cSmrg { (exit 1); exit 1; }; };; 614370f7c90cSmrg esac 614470f7c90cSmrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 614570f7c90cSmrg ac_file_inputs="$ac_file_inputs '$ac_f'" 614670f7c90cSmrg done 614770f7c90cSmrg 614870f7c90cSmrg # Let's still pretend it is `configure' which instantiates (i.e., don't 614970f7c90cSmrg # use $as_me), people would be surprised to read: 615070f7c90cSmrg # /* config.h. Generated by config.status. */ 615170f7c90cSmrg configure_input='Generated from '` 615270f7c90cSmrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 615370f7c90cSmrg `' by configure.' 615470f7c90cSmrg if test x"$ac_file" != x-; then 615570f7c90cSmrg configure_input="$ac_file. $configure_input" 615670f7c90cSmrg { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 615770f7c90cSmrg$as_echo "$as_me: creating $ac_file" >&6;} 615870f7c90cSmrg fi 615970f7c90cSmrg # Neutralize special characters interpreted by sed in replacement strings. 616070f7c90cSmrg case $configure_input in #( 616170f7c90cSmrg *\&* | *\|* | *\\* ) 616270f7c90cSmrg ac_sed_conf_input=`$as_echo "$configure_input" | 616370f7c90cSmrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 616470f7c90cSmrg *) ac_sed_conf_input=$configure_input;; 616570f7c90cSmrg esac 616670f7c90cSmrg 616770f7c90cSmrg case $ac_tag in 616870f7c90cSmrg *:-:* | *:-) cat >"$tmp/stdin" \ 616970f7c90cSmrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 617070f7c90cSmrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 617170f7c90cSmrg { (exit 1); exit 1; }; } ;; 617270f7c90cSmrg esac 6173a850946eSmrg ;; 6174a850946eSmrg esac 617570f7c90cSmrg 6176a850946eSmrg ac_dir=`$as_dirname -- "$ac_file" || 6177a850946eSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6178a850946eSmrg X"$ac_file" : 'X\(//\)[^/]' \| \ 617970f7c90cSmrg X"$ac_file" : 'X\(//\)$' \| \ 618070f7c90cSmrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 618170f7c90cSmrg$as_echo X"$ac_file" | 618270f7c90cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 618370f7c90cSmrg s//\1/ 618470f7c90cSmrg q 618570f7c90cSmrg } 618670f7c90cSmrg /^X\(\/\/\)[^/].*/{ 618770f7c90cSmrg s//\1/ 618870f7c90cSmrg q 618970f7c90cSmrg } 619070f7c90cSmrg /^X\(\/\/\)$/{ 619170f7c90cSmrg s//\1/ 619270f7c90cSmrg q 619370f7c90cSmrg } 619470f7c90cSmrg /^X\(\/\).*/{ 619570f7c90cSmrg s//\1/ 619670f7c90cSmrg q 619770f7c90cSmrg } 619870f7c90cSmrg s/.*/./; q'` 619970f7c90cSmrg { as_dir="$ac_dir" 620070f7c90cSmrg case $as_dir in #( 620170f7c90cSmrg -*) as_dir=./$as_dir;; 620270f7c90cSmrg esac 6203a850946eSmrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 620470f7c90cSmrg as_dirs= 620570f7c90cSmrg while :; do 620670f7c90cSmrg case $as_dir in #( 620770f7c90cSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 620870f7c90cSmrg *) as_qdir=$as_dir;; 620970f7c90cSmrg esac 621070f7c90cSmrg as_dirs="'$as_qdir' $as_dirs" 6211a850946eSmrg as_dir=`$as_dirname -- "$as_dir" || 6212a850946eSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6213a850946eSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 621470f7c90cSmrg X"$as_dir" : 'X\(//\)$' \| \ 621570f7c90cSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 621670f7c90cSmrg$as_echo X"$as_dir" | 621770f7c90cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 621870f7c90cSmrg s//\1/ 621970f7c90cSmrg q 622070f7c90cSmrg } 622170f7c90cSmrg /^X\(\/\/\)[^/].*/{ 622270f7c90cSmrg s//\1/ 622370f7c90cSmrg q 622470f7c90cSmrg } 622570f7c90cSmrg /^X\(\/\/\)$/{ 622670f7c90cSmrg s//\1/ 622770f7c90cSmrg q 622870f7c90cSmrg } 622970f7c90cSmrg /^X\(\/\).*/{ 623070f7c90cSmrg s//\1/ 623170f7c90cSmrg q 623270f7c90cSmrg } 623370f7c90cSmrg s/.*/./; q'` 6234a850946eSmrg test -d "$as_dir" && break 623570f7c90cSmrg done 623670f7c90cSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 623770f7c90cSmrg } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 6238a850946eSmrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 6239a850946eSmrg { (exit 1); exit 1; }; }; } 6240a850946eSmrg ac_builddir=. 624170f7c90cSmrg 624270f7c90cSmrgcase "$ac_dir" in 624370f7c90cSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 624470f7c90cSmrg*) 624570f7c90cSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 624670f7c90cSmrg # A ".." for each directory in $ac_dir_suffix. 624770f7c90cSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 624870f7c90cSmrg case $ac_top_builddir_sub in 624970f7c90cSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 625070f7c90cSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 625170f7c90cSmrg esac ;; 625270f7c90cSmrgesac 625370f7c90cSmrgac_abs_top_builddir=$ac_pwd 625470f7c90cSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 625570f7c90cSmrg# for backward compatibility: 6256a850946eSmrgac_top_builddir=$ac_top_build_prefix 6257a850946eSmrg 625870f7c90cSmrgcase $srcdir in 6259a850946eSmrg .) # We are building in place. 626070f7c90cSmrg ac_srcdir=. 626170f7c90cSmrg ac_top_srcdir=$ac_top_builddir_sub 626270f7c90cSmrg ac_abs_top_srcdir=$ac_pwd ;; 6263a850946eSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 626470f7c90cSmrg ac_srcdir=$srcdir$ac_dir_suffix; 626570f7c90cSmrg ac_top_srcdir=$srcdir 626670f7c90cSmrg ac_abs_top_srcdir=$srcdir ;; 626770f7c90cSmrg *) # Relative name. 626870f7c90cSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 626970f7c90cSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 6270a850946eSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 627170f7c90cSmrgesac 6272a850946eSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 6273a850946eSmrg 627470f7c90cSmrg 627570f7c90cSmrg case $ac_mode in 627670f7c90cSmrg :F) 627770f7c90cSmrg # 627870f7c90cSmrg # CONFIG_FILE 6279a850946eSmrg # 6280a850946eSmrg 6281a850946eSmrg case $INSTALL in 628270f7c90cSmrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 6283a850946eSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 628470f7c90cSmrg esac 628570f7c90cSmrg ac_MKDIR_P=$MKDIR_P 628670f7c90cSmrg case $MKDIR_P in 628770f7c90cSmrg [\\/$]* | ?:[\\/]* ) ;; 628870f7c90cSmrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 628970f7c90cSmrg esac 6290a850946eSmrg_ACEOF 629170f7c90cSmrg 629270f7c90cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 629370f7c90cSmrg# If the template does not know about datarootdir, expand it. 629470f7c90cSmrg# FIXME: This hack should be removed a few years after 2.60. 629570f7c90cSmrgac_datarootdir_hack=; ac_datarootdir_seen= 629670f7c90cSmrg 629770f7c90cSmrgac_sed_dataroot=' 629870f7c90cSmrg/datarootdir/ { 629970f7c90cSmrg p 630070f7c90cSmrg q 630170f7c90cSmrg} 630270f7c90cSmrg/@datadir@/p 630370f7c90cSmrg/@docdir@/p 630470f7c90cSmrg/@infodir@/p 630570f7c90cSmrg/@localedir@/p 630670f7c90cSmrg/@mandir@/p 630770f7c90cSmrg' 630870f7c90cSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 630970f7c90cSmrg*datarootdir*) ac_datarootdir_seen=yes;; 631070f7c90cSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 631170f7c90cSmrg { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 6312a850946eSmrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 631370f7c90cSmrg_ACEOF 631470f7c90cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 631570f7c90cSmrg ac_datarootdir_hack=' 631670f7c90cSmrg s&@datadir@&$datadir&g 631770f7c90cSmrg s&@docdir@&$docdir&g 631870f7c90cSmrg s&@infodir@&$infodir&g 631970f7c90cSmrg s&@localedir@&$localedir&g 632070f7c90cSmrg s&@mandir@&$mandir&g 632170f7c90cSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 632270f7c90cSmrgesac 632370f7c90cSmrg_ACEOF 632470f7c90cSmrg 632570f7c90cSmrg# Neutralize VPATH when `$srcdir' = `.'. 632670f7c90cSmrg# Shell code in configure.ac might set extrasub. 632770f7c90cSmrg# FIXME: do we really want to maintain this feature? 632870f7c90cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6329a850946eSmrgac_sed_extra="$ac_vpsub 6330a850946eSmrg$extrasub 633170f7c90cSmrg_ACEOF 6332a850946eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6333a850946eSmrg:t 633470f7c90cSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 633570f7c90cSmrgs|@configure_input@|$ac_sed_conf_input|;t t 633670f7c90cSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t 633770f7c90cSmrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 633870f7c90cSmrgs&@srcdir@&$ac_srcdir&;t t 633970f7c90cSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 634070f7c90cSmrgs&@top_srcdir@&$ac_top_srcdir&;t t 634170f7c90cSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 634270f7c90cSmrgs&@builddir@&$ac_builddir&;t t 634370f7c90cSmrgs&@abs_builddir@&$ac_abs_builddir&;t t 634470f7c90cSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 634570f7c90cSmrgs&@INSTALL@&$ac_INSTALL&;t t 634670f7c90cSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 634770f7c90cSmrg$ac_datarootdir_hack 634870f7c90cSmrg" 634970f7c90cSmrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 635070f7c90cSmrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 635170f7c90cSmrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 6352a850946eSmrg { (exit 1); exit 1; }; } 635370f7c90cSmrg 635470f7c90cSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 635570f7c90cSmrg { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 635670f7c90cSmrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 635770f7c90cSmrg { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 635870f7c90cSmrgwhich seems to be undefined. Please make sure it is defined." >&5 635970f7c90cSmrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6360a850946eSmrgwhich seems to be undefined. Please make sure it is defined." >&2;} 636170f7c90cSmrg 6362a850946eSmrg rm -f "$tmp/stdin" 636370f7c90cSmrg case $ac_file in 636470f7c90cSmrg -) cat "$tmp/out" && rm -f "$tmp/out";; 636570f7c90cSmrg *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 636670f7c90cSmrg esac \ 636770f7c90cSmrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6368a850946eSmrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 636970f7c90cSmrg { (exit 1); exit 1; }; } 637070f7c90cSmrg ;; 637170f7c90cSmrg :H) 637270f7c90cSmrg # 637370f7c90cSmrg # CONFIG_HEADER 6374a850946eSmrg # 637570f7c90cSmrg if test x"$ac_file" != x-; then 637670f7c90cSmrg { 637770f7c90cSmrg $as_echo "/* $configure_input */" \ 637870f7c90cSmrg && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 637970f7c90cSmrg } >"$tmp/config.h" \ 638070f7c90cSmrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 638170f7c90cSmrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 638270f7c90cSmrg { (exit 1); exit 1; }; } 638370f7c90cSmrg if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 638470f7c90cSmrg { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 6385a850946eSmrg$as_echo "$as_me: $ac_file is unchanged" >&6;} 638670f7c90cSmrg else 638770f7c90cSmrg rm -f "$ac_file" 638870f7c90cSmrg mv "$tmp/config.h" "$ac_file" \ 638970f7c90cSmrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 639070f7c90cSmrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 6391a850946eSmrg { (exit 1); exit 1; }; } 6392a850946eSmrg fi 639370f7c90cSmrg else 639470f7c90cSmrg $as_echo "/* $configure_input */" \ 639570f7c90cSmrg && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 639670f7c90cSmrg || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 639770f7c90cSmrg$as_echo "$as_me: error: could not create -" >&2;} 6398a850946eSmrg { (exit 1); exit 1; }; } 639970f7c90cSmrg fi 640070f7c90cSmrg# Compute "$ac_file"'s index in $config_headers. 6401a850946eSmrg_am_arg="$ac_file" 6402a850946eSmrg_am_stamp_count=1 6403a850946eSmrgfor _am_header in $config_headers :; do 640470f7c90cSmrg case $_am_header in 6405a850946eSmrg $_am_arg | $_am_arg:* ) 6406a850946eSmrg break ;; 6407a850946eSmrg * ) 6408a850946eSmrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6409a850946eSmrg esac 641070f7c90cSmrgdone 641170f7c90cSmrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 641270f7c90cSmrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 641370f7c90cSmrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 641470f7c90cSmrg X"$_am_arg" : 'X\(//\)$' \| \ 641570f7c90cSmrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 641670f7c90cSmrg$as_echo X"$_am_arg" | 641770f7c90cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 641870f7c90cSmrg s//\1/ 641970f7c90cSmrg q 642070f7c90cSmrg } 642170f7c90cSmrg /^X\(\/\/\)[^/].*/{ 642270f7c90cSmrg s//\1/ 642370f7c90cSmrg q 642470f7c90cSmrg } 642570f7c90cSmrg /^X\(\/\/\)$/{ 642670f7c90cSmrg s//\1/ 642770f7c90cSmrg q 642870f7c90cSmrg } 642970f7c90cSmrg /^X\(\/\).*/{ 643070f7c90cSmrg s//\1/ 643170f7c90cSmrg q 643270f7c90cSmrg } 643370f7c90cSmrg s/.*/./; q'`/stamp-h$_am_stamp_count 6434a850946eSmrg ;; 643570f7c90cSmrg 643670f7c90cSmrg :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 643770f7c90cSmrg$as_echo "$as_me: executing $ac_file commands" >&6;} 643870f7c90cSmrg ;; 6439a850946eSmrg esac 6440a850946eSmrg 644170f7c90cSmrg 644270f7c90cSmrg case $ac_file$ac_mode in 644370f7c90cSmrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 644470f7c90cSmrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 644570f7c90cSmrg # are listed without --file. Let's play safe and only enable the eval 644670f7c90cSmrg # if we detect the quoting. 644770f7c90cSmrg case $CONFIG_FILES in 644870f7c90cSmrg *\'*) eval set x "$CONFIG_FILES" ;; 644970f7c90cSmrg *) set x $CONFIG_FILES ;; 645070f7c90cSmrg esac 645170f7c90cSmrg shift 645270f7c90cSmrg for mf 645370f7c90cSmrg do 645470f7c90cSmrg # Strip MF so we end up with the name of the file. 645570f7c90cSmrg mf=`echo "$mf" | sed -e 's/:.*$//'` 645670f7c90cSmrg # Check whether this is an Automake generated Makefile or not. 645770f7c90cSmrg # We used to match only the files named `Makefile.in', but 645870f7c90cSmrg # some people rename them; so instead we look at the file content. 645970f7c90cSmrg # Grep'ing the first line is not enough: some people post-process 646070f7c90cSmrg # each Makefile.in and add a new line on top of each file to say so. 646170f7c90cSmrg # Grep'ing the whole file is not good either: AIX grep has a line 646270f7c90cSmrg # limit of 2048, but all sed's we know have understand at least 4000. 646370f7c90cSmrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 6464a850946eSmrg dirpart=`$as_dirname -- "$mf" || 6465a850946eSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6466a850946eSmrg X"$mf" : 'X\(//\)[^/]' \| \ 646770f7c90cSmrg X"$mf" : 'X\(//\)$' \| \ 646870f7c90cSmrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 646970f7c90cSmrg$as_echo X"$mf" | 647070f7c90cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 647170f7c90cSmrg s//\1/ 647270f7c90cSmrg q 647370f7c90cSmrg } 647470f7c90cSmrg /^X\(\/\/\)[^/].*/{ 647570f7c90cSmrg s//\1/ 647670f7c90cSmrg q 647770f7c90cSmrg } 647870f7c90cSmrg /^X\(\/\/\)$/{ 647970f7c90cSmrg s//\1/ 648070f7c90cSmrg q 648170f7c90cSmrg } 648270f7c90cSmrg /^X\(\/\).*/{ 648370f7c90cSmrg s//\1/ 648470f7c90cSmrg q 648570f7c90cSmrg } 648670f7c90cSmrg s/.*/./; q'` 648770f7c90cSmrg else 648870f7c90cSmrg continue 648970f7c90cSmrg fi 649070f7c90cSmrg # Extract the definition of DEPDIR, am__include, and am__quote 649170f7c90cSmrg # from the Makefile without running `make'. 649270f7c90cSmrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 649370f7c90cSmrg test -z "$DEPDIR" && continue 649470f7c90cSmrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 649570f7c90cSmrg test -z "am__include" && continue 649670f7c90cSmrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 649770f7c90cSmrg # When using ansi2knr, U may be empty or an underscore; expand it 649870f7c90cSmrg U=`sed -n 's/^U = //p' < "$mf"` 649970f7c90cSmrg # Find all dependency output files, they are included files with 650070f7c90cSmrg # $(DEPDIR) in their names. We invoke sed twice because it is the 650170f7c90cSmrg # simplest approach to changing $(DEPDIR) to its actual value in the 650270f7c90cSmrg # expansion. 650370f7c90cSmrg for file in `sed -n " 650470f7c90cSmrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 650570f7c90cSmrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 650670f7c90cSmrg # Make sure the directory exists. 650770f7c90cSmrg test -f "$dirpart/$file" && continue 6508a850946eSmrg fdir=`$as_dirname -- "$file" || 6509a850946eSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6510a850946eSmrg X"$file" : 'X\(//\)[^/]' \| \ 651170f7c90cSmrg X"$file" : 'X\(//\)$' \| \ 651270f7c90cSmrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 651370f7c90cSmrg$as_echo X"$file" | 651470f7c90cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 651570f7c90cSmrg s//\1/ 651670f7c90cSmrg q 651770f7c90cSmrg } 651870f7c90cSmrg /^X\(\/\/\)[^/].*/{ 651970f7c90cSmrg s//\1/ 652070f7c90cSmrg q 652170f7c90cSmrg } 652270f7c90cSmrg /^X\(\/\/\)$/{ 652370f7c90cSmrg s//\1/ 652470f7c90cSmrg q 652570f7c90cSmrg } 652670f7c90cSmrg /^X\(\/\).*/{ 652770f7c90cSmrg s//\1/ 652870f7c90cSmrg q 652970f7c90cSmrg } 653070f7c90cSmrg s/.*/./; q'` 653170f7c90cSmrg { as_dir=$dirpart/$fdir 653270f7c90cSmrg case $as_dir in #( 653370f7c90cSmrg -*) as_dir=./$as_dir;; 653470f7c90cSmrg esac 6535a850946eSmrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 653670f7c90cSmrg as_dirs= 653770f7c90cSmrg while :; do 653870f7c90cSmrg case $as_dir in #( 653970f7c90cSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 654070f7c90cSmrg *) as_qdir=$as_dir;; 654170f7c90cSmrg esac 654270f7c90cSmrg as_dirs="'$as_qdir' $as_dirs" 6543a850946eSmrg as_dir=`$as_dirname -- "$as_dir" || 6544a850946eSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6545a850946eSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 654670f7c90cSmrg X"$as_dir" : 'X\(//\)$' \| \ 654770f7c90cSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 654870f7c90cSmrg$as_echo X"$as_dir" | 654970f7c90cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 655070f7c90cSmrg s//\1/ 655170f7c90cSmrg q 655270f7c90cSmrg } 655370f7c90cSmrg /^X\(\/\/\)[^/].*/{ 655470f7c90cSmrg s//\1/ 655570f7c90cSmrg q 655670f7c90cSmrg } 655770f7c90cSmrg /^X\(\/\/\)$/{ 655870f7c90cSmrg s//\1/ 655970f7c90cSmrg q 656070f7c90cSmrg } 656170f7c90cSmrg /^X\(\/\).*/{ 656270f7c90cSmrg s//\1/ 656370f7c90cSmrg q 656470f7c90cSmrg } 656570f7c90cSmrg s/.*/./; q'` 6566a850946eSmrg test -d "$as_dir" && break 656770f7c90cSmrg done 656870f7c90cSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 656970f7c90cSmrg } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 6570a850946eSmrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 657170f7c90cSmrg { (exit 1); exit 1; }; }; } 657270f7c90cSmrg # echo "creating $dirpart/$file" 657370f7c90cSmrg echo '# dummy' > "$dirpart/$file" 6574a850946eSmrg done 657570f7c90cSmrg done 6576a850946eSmrg} 657770f7c90cSmrg ;; 6578a850946eSmrg 657970f7c90cSmrg esac 6580a850946eSmrgdone # for ac_tag 6581a850946eSmrg 6582a850946eSmrg 6583a850946eSmrg{ (exit 0); exit 0; } 6584a850946eSmrg_ACEOF 6585a850946eSmrgchmod +x $CONFIG_STATUS 6586a850946eSmrgac_clean_files=$ac_clean_files_save 658770f7c90cSmrg 658870f7c90cSmrgtest $ac_write_fail = 0 || 658970f7c90cSmrg { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 659070f7c90cSmrg$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 659170f7c90cSmrg { (exit 1); exit 1; }; } 6592a850946eSmrg 6593a850946eSmrg 6594a850946eSmrg# configure is writing to config.log, and then calls config.status. 6595a850946eSmrg# config.status does its own redirection, appending to config.log. 6596a850946eSmrg# Unfortunately, on DOS this fails, as config.log is still kept open 6597a850946eSmrg# by configure, so config.status won't be able to write to it; its 6598a850946eSmrg# output is simply discarded. So we exec the FD to /dev/null, 6599a850946eSmrg# effectively closing config.log, so it can be properly (re)opened and 6600a850946eSmrg# appended to by config.status. When coming back to configure, we 6601a850946eSmrg# need to make the FD available again. 6602a850946eSmrgif test "$no_create" != yes; then 6603a850946eSmrg ac_cs_success=: 6604a850946eSmrg ac_config_status_args= 6605a850946eSmrg test "$silent" = yes && 6606a850946eSmrg ac_config_status_args="$ac_config_status_args --quiet" 6607a850946eSmrg exec 5>/dev/null 6608a850946eSmrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6609a850946eSmrg exec 5>>config.log 6610a850946eSmrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6611a850946eSmrg # would make configure fail if this is the last instruction. 6612a850946eSmrg $ac_cs_success || { (exit 1); exit 1; } 661370f7c90cSmrgfi 661470f7c90cSmrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 661570f7c90cSmrg { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 661670f7c90cSmrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6617a850946eSmrgfi 6618 6619