configure revision 50718ea6
1566738d7Smrg#! /bin/sh 2566738d7Smrg# Guess values for system-dependent variables and create Makefiles. 350718ea6Smrg# Generated by GNU Autoconf 2.63 for XProxyManagementProtocol 1.0.3. 4566738d7Smrg# 5566738d7Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6566738d7Smrg# 750718ea6Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 850718ea6Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 9566738d7Smrg# This configure script is free software; the Free Software Foundation 10566738d7Smrg# gives unlimited permission to copy, distribute and modify it. 11566738d7Smrg## --------------------- ## 12566738d7Smrg## M4sh Initialization. ## 13566738d7Smrg## --------------------- ## 14566738d7Smrg 1550718ea6Smrg# Be more Bourne compatible 1650718ea6SmrgDUALCASE=1; export DUALCASE # for MKS sh 17566738d7Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 18566738d7Smrg emulate sh 19566738d7Smrg NULLCMD=: 2050718ea6Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21566738d7Smrg # is contrary to our usage. Disable this feature. 22566738d7Smrg alias -g '${1+"$@"}'='"$@"' 2350718ea6Smrg setopt NO_GLOB_SUBST 2450718ea6Smrgelse 2550718ea6Smrg case `(set -o) 2>/dev/null` in 2650718ea6Smrg *posix*) set -o posix ;; 2750718ea6Smrgesac 2850718ea6Smrg 2950718ea6Smrgfi 3050718ea6Smrg 3150718ea6Smrg 3250718ea6Smrg 3350718ea6Smrg 3450718ea6Smrg# PATH needs CR 3550718ea6Smrg# Avoid depending upon Character Ranges. 3650718ea6Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 3750718ea6Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3850718ea6Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 3950718ea6Smrgas_cr_digits='0123456789' 4050718ea6Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 4150718ea6Smrg 4250718ea6Smrgas_nl=' 4350718ea6Smrg' 4450718ea6Smrgexport as_nl 4550718ea6Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 4650718ea6Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4750718ea6Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4850718ea6Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4950718ea6Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5050718ea6Smrg as_echo='printf %s\n' 5150718ea6Smrg as_echo_n='printf %s' 5250718ea6Smrgelse 5350718ea6Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5450718ea6Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5550718ea6Smrg as_echo_n='/usr/ucb/echo -n' 5650718ea6Smrg else 5750718ea6Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 5850718ea6Smrg as_echo_n_body='eval 5950718ea6Smrg arg=$1; 6050718ea6Smrg case $arg in 6150718ea6Smrg *"$as_nl"*) 6250718ea6Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 6350718ea6Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6450718ea6Smrg esac; 6550718ea6Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6650718ea6Smrg ' 6750718ea6Smrg export as_echo_n_body 6850718ea6Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 6950718ea6Smrg fi 7050718ea6Smrg export as_echo_body 7150718ea6Smrg as_echo='sh -c $as_echo_body as_echo' 7250718ea6Smrgfi 7350718ea6Smrg 7450718ea6Smrg# The user is always right. 7550718ea6Smrgif test "${PATH_SEPARATOR+set}" != set; then 7650718ea6Smrg PATH_SEPARATOR=: 7750718ea6Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 7850718ea6Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 7950718ea6Smrg PATH_SEPARATOR=';' 8050718ea6Smrg } 81566738d7Smrgfi 82566738d7Smrg 83566738d7Smrg# Support unset when possible. 84566738d7Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 85566738d7Smrg as_unset=unset 86566738d7Smrgelse 87566738d7Smrg as_unset=false 88566738d7Smrgfi 89566738d7Smrg 90566738d7Smrg 9150718ea6Smrg# IFS 9250718ea6Smrg# We need space, tab and new line, in precisely that order. Quoting is 9350718ea6Smrg# there to prevent editors from complaining about space-tab. 9450718ea6Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 9550718ea6Smrg# splitting by setting IFS to empty value.) 9650718ea6SmrgIFS=" "" $as_nl" 9750718ea6Smrg 9850718ea6Smrg# Find who we are. Look in the path if we contain no directory separator. 9950718ea6Smrgcase $0 in 10050718ea6Smrg *[\\/]* ) as_myself=$0 ;; 10150718ea6Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10250718ea6Smrgfor as_dir in $PATH 10350718ea6Smrgdo 10450718ea6Smrg IFS=$as_save_IFS 10550718ea6Smrg test -z "$as_dir" && as_dir=. 10650718ea6Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 10750718ea6Smrgdone 10850718ea6SmrgIFS=$as_save_IFS 10950718ea6Smrg 11050718ea6Smrg ;; 11150718ea6Smrgesac 11250718ea6Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 11350718ea6Smrg# in which case we are not to be found in the path. 11450718ea6Smrgif test "x$as_myself" = x; then 11550718ea6Smrg as_myself=$0 11650718ea6Smrgfi 11750718ea6Smrgif test ! -f "$as_myself"; then 11850718ea6Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11950718ea6Smrg { (exit 1); exit 1; } 12050718ea6Smrgfi 12150718ea6Smrg 122566738d7Smrg# Work around bugs in pre-3.0 UWIN ksh. 12350718ea6Smrgfor as_var in ENV MAIL MAILPATH 12450718ea6Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 12550718ea6Smrgdone 126566738d7SmrgPS1='$ ' 127566738d7SmrgPS2='> ' 128566738d7SmrgPS4='+ ' 129566738d7Smrg 130566738d7Smrg# NLS nuisances. 13150718ea6SmrgLC_ALL=C 13250718ea6Smrgexport LC_ALL 13350718ea6SmrgLANGUAGE=C 13450718ea6Smrgexport LANGUAGE 135566738d7Smrg 136566738d7Smrg# Required to use basename. 13750718ea6Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 13850718ea6Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 139566738d7Smrg as_expr=expr 140566738d7Smrgelse 141566738d7Smrg as_expr=false 142566738d7Smrgfi 143566738d7Smrg 14450718ea6Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 145566738d7Smrg as_basename=basename 146566738d7Smrgelse 147566738d7Smrg as_basename=false 148566738d7Smrgfi 149566738d7Smrg 150566738d7Smrg 151566738d7Smrg# Name of the executable. 15250718ea6Smrgas_me=`$as_basename -- "$0" || 153566738d7Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 154566738d7Smrg X"$0" : 'X\(//\)$' \| \ 15550718ea6Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 15650718ea6Smrg$as_echo X/"$0" | 15750718ea6Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 15850718ea6Smrg s//\1/ 15950718ea6Smrg q 16050718ea6Smrg } 16150718ea6Smrg /^X\/\(\/\/\)$/{ 16250718ea6Smrg s//\1/ 16350718ea6Smrg q 16450718ea6Smrg } 16550718ea6Smrg /^X\/\(\/\).*/{ 16650718ea6Smrg s//\1/ 16750718ea6Smrg q 16850718ea6Smrg } 16950718ea6Smrg s/.*/./; q'` 170566738d7Smrg 17150718ea6Smrg# CDPATH. 17250718ea6Smrg$as_unset CDPATH 173566738d7Smrg 174566738d7Smrg 17550718ea6Smrgif test "x$CONFIG_SHELL" = x; then 17650718ea6Smrg if (eval ":") 2>/dev/null; then 17750718ea6Smrg as_have_required=yes 17850718ea6Smrgelse 17950718ea6Smrg as_have_required=no 180566738d7Smrgfi 181566738d7Smrg 18250718ea6Smrg if test $as_have_required = yes && (eval ": 18350718ea6Smrg(as_func_return () { 18450718ea6Smrg (exit \$1) 18550718ea6Smrg} 18650718ea6Smrgas_func_success () { 18750718ea6Smrg as_func_return 0 18850718ea6Smrg} 18950718ea6Smrgas_func_failure () { 19050718ea6Smrg as_func_return 1 19150718ea6Smrg} 19250718ea6Smrgas_func_ret_success () { 19350718ea6Smrg return 0 19450718ea6Smrg} 19550718ea6Smrgas_func_ret_failure () { 19650718ea6Smrg return 1 19750718ea6Smrg} 198566738d7Smrg 19950718ea6Smrgexitcode=0 20050718ea6Smrgif as_func_success; then 20150718ea6Smrg : 20250718ea6Smrgelse 20350718ea6Smrg exitcode=1 20450718ea6Smrg echo as_func_success failed. 20550718ea6Smrgfi 206566738d7Smrg 20750718ea6Smrgif as_func_failure; then 20850718ea6Smrg exitcode=1 20950718ea6Smrg echo as_func_failure succeeded. 21050718ea6Smrgfi 21150718ea6Smrg 21250718ea6Smrgif as_func_ret_success; then 21350718ea6Smrg : 21450718ea6Smrgelse 21550718ea6Smrg exitcode=1 21650718ea6Smrg echo as_func_ret_success failed. 21750718ea6Smrgfi 21850718ea6Smrg 21950718ea6Smrgif as_func_ret_failure; then 22050718ea6Smrg exitcode=1 22150718ea6Smrg echo as_func_ret_failure succeeded. 22250718ea6Smrgfi 22350718ea6Smrg 22450718ea6Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 22550718ea6Smrg : 22650718ea6Smrgelse 22750718ea6Smrg exitcode=1 22850718ea6Smrg echo positional parameters were not saved. 22950718ea6Smrgfi 23050718ea6Smrg 23150718ea6Smrgtest \$exitcode = 0) || { (exit 1); exit 1; } 23250718ea6Smrg 23350718ea6Smrg( 23450718ea6Smrg as_lineno_1=\$LINENO 23550718ea6Smrg as_lineno_2=\$LINENO 23650718ea6Smrg test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 23750718ea6Smrg test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 23850718ea6Smrg") 2> /dev/null; then 23950718ea6Smrg : 24050718ea6Smrgelse 24150718ea6Smrg as_candidate_shells= 242566738d7Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 243566738d7Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 244566738d7Smrgdo 245566738d7Smrg IFS=$as_save_IFS 246566738d7Smrg test -z "$as_dir" && as_dir=. 24750718ea6Smrg case $as_dir in 248566738d7Smrg /*) 24950718ea6Smrg for as_base in sh bash ksh sh5; do 25050718ea6Smrg as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 25150718ea6Smrg done;; 25250718ea6Smrg esac 25350718ea6Smrgdone 25450718ea6SmrgIFS=$as_save_IFS 25550718ea6Smrg 25650718ea6Smrg 25750718ea6Smrg for as_shell in $as_candidate_shells $SHELL; do 25850718ea6Smrg # Try only shells that exist, to save several forks. 25950718ea6Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 26050718ea6Smrg { ("$as_shell") 2> /dev/null <<\_ASEOF 26150718ea6Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 26250718ea6Smrg emulate sh 26350718ea6Smrg NULLCMD=: 26450718ea6Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 26550718ea6Smrg # is contrary to our usage. Disable this feature. 26650718ea6Smrg alias -g '${1+"$@"}'='"$@"' 26750718ea6Smrg setopt NO_GLOB_SUBST 26850718ea6Smrgelse 26950718ea6Smrg case `(set -o) 2>/dev/null` in 27050718ea6Smrg *posix*) set -o posix ;; 27150718ea6Smrgesac 27250718ea6Smrg 27350718ea6Smrgfi 27450718ea6Smrg 27550718ea6Smrg 27650718ea6Smrg: 27750718ea6Smrg_ASEOF 27850718ea6Smrg}; then 27950718ea6Smrg CONFIG_SHELL=$as_shell 28050718ea6Smrg as_have_required=yes 28150718ea6Smrg if { "$as_shell" 2> /dev/null <<\_ASEOF 28250718ea6Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 28350718ea6Smrg emulate sh 28450718ea6Smrg NULLCMD=: 28550718ea6Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 28650718ea6Smrg # is contrary to our usage. Disable this feature. 28750718ea6Smrg alias -g '${1+"$@"}'='"$@"' 28850718ea6Smrg setopt NO_GLOB_SUBST 28950718ea6Smrgelse 29050718ea6Smrg case `(set -o) 2>/dev/null` in 29150718ea6Smrg *posix*) set -o posix ;; 29250718ea6Smrgesac 29350718ea6Smrg 29450718ea6Smrgfi 29550718ea6Smrg 29650718ea6Smrg 29750718ea6Smrg: 29850718ea6Smrg(as_func_return () { 29950718ea6Smrg (exit $1) 30050718ea6Smrg} 30150718ea6Smrgas_func_success () { 30250718ea6Smrg as_func_return 0 30350718ea6Smrg} 30450718ea6Smrgas_func_failure () { 30550718ea6Smrg as_func_return 1 30650718ea6Smrg} 30750718ea6Smrgas_func_ret_success () { 30850718ea6Smrg return 0 30950718ea6Smrg} 31050718ea6Smrgas_func_ret_failure () { 31150718ea6Smrg return 1 31250718ea6Smrg} 31350718ea6Smrg 31450718ea6Smrgexitcode=0 31550718ea6Smrgif as_func_success; then 31650718ea6Smrg : 31750718ea6Smrgelse 31850718ea6Smrg exitcode=1 31950718ea6Smrg echo as_func_success failed. 32050718ea6Smrgfi 32150718ea6Smrg 32250718ea6Smrgif as_func_failure; then 32350718ea6Smrg exitcode=1 32450718ea6Smrg echo as_func_failure succeeded. 32550718ea6Smrgfi 32650718ea6Smrg 32750718ea6Smrgif as_func_ret_success; then 32850718ea6Smrg : 32950718ea6Smrgelse 33050718ea6Smrg exitcode=1 33150718ea6Smrg echo as_func_ret_success failed. 33250718ea6Smrgfi 33350718ea6Smrg 33450718ea6Smrgif as_func_ret_failure; then 33550718ea6Smrg exitcode=1 33650718ea6Smrg echo as_func_ret_failure succeeded. 33750718ea6Smrgfi 33850718ea6Smrg 33950718ea6Smrgif ( set x; as_func_ret_success y && test x = "$1" ); then 34050718ea6Smrg : 34150718ea6Smrgelse 34250718ea6Smrg exitcode=1 34350718ea6Smrg echo positional parameters were not saved. 34450718ea6Smrgfi 34550718ea6Smrg 34650718ea6Smrgtest $exitcode = 0) || { (exit 1); exit 1; } 34750718ea6Smrg 34850718ea6Smrg( 349566738d7Smrg as_lineno_1=$LINENO 350566738d7Smrg as_lineno_2=$LINENO 351566738d7Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 35250718ea6Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 35350718ea6Smrg 35450718ea6Smrg_ASEOF 35550718ea6Smrg}; then 35650718ea6Smrg break 35750718ea6Smrgfi 35850718ea6Smrg 35950718ea6Smrgfi 36050718ea6Smrg 36150718ea6Smrg done 36250718ea6Smrg 36350718ea6Smrg if test "x$CONFIG_SHELL" != x; then 36450718ea6Smrg for as_var in BASH_ENV ENV 36550718ea6Smrg do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 36650718ea6Smrg done 36750718ea6Smrg export CONFIG_SHELL 36850718ea6Smrg exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 36950718ea6Smrgfi 37050718ea6Smrg 37150718ea6Smrg 37250718ea6Smrg if test $as_have_required = no; then 37350718ea6Smrg echo This script requires a shell more modern than all the 37450718ea6Smrg echo shells that I found on your system. Please install a 37550718ea6Smrg echo modern shell, or manually run the script under such a 37650718ea6Smrg echo shell if you do have one. 37750718ea6Smrg { (exit 1); exit 1; } 37850718ea6Smrgfi 37950718ea6Smrg 38050718ea6Smrg 38150718ea6Smrgfi 38250718ea6Smrg 38350718ea6Smrgfi 38450718ea6Smrg 38550718ea6Smrg 38650718ea6Smrg 38750718ea6Smrg(eval "as_func_return () { 38850718ea6Smrg (exit \$1) 38950718ea6Smrg} 39050718ea6Smrgas_func_success () { 39150718ea6Smrg as_func_return 0 39250718ea6Smrg} 39350718ea6Smrgas_func_failure () { 39450718ea6Smrg as_func_return 1 39550718ea6Smrg} 39650718ea6Smrgas_func_ret_success () { 39750718ea6Smrg return 0 39850718ea6Smrg} 39950718ea6Smrgas_func_ret_failure () { 40050718ea6Smrg return 1 40150718ea6Smrg} 40250718ea6Smrg 40350718ea6Smrgexitcode=0 40450718ea6Smrgif as_func_success; then 40550718ea6Smrg : 40650718ea6Smrgelse 40750718ea6Smrg exitcode=1 40850718ea6Smrg echo as_func_success failed. 40950718ea6Smrgfi 41050718ea6Smrg 41150718ea6Smrgif as_func_failure; then 41250718ea6Smrg exitcode=1 41350718ea6Smrg echo as_func_failure succeeded. 41450718ea6Smrgfi 41550718ea6Smrg 41650718ea6Smrgif as_func_ret_success; then 41750718ea6Smrg : 41850718ea6Smrgelse 41950718ea6Smrg exitcode=1 42050718ea6Smrg echo as_func_ret_success failed. 42150718ea6Smrgfi 42250718ea6Smrg 42350718ea6Smrgif as_func_ret_failure; then 42450718ea6Smrg exitcode=1 42550718ea6Smrg echo as_func_ret_failure succeeded. 42650718ea6Smrgfi 42750718ea6Smrg 42850718ea6Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 42950718ea6Smrg : 43050718ea6Smrgelse 43150718ea6Smrg exitcode=1 43250718ea6Smrg echo positional parameters were not saved. 43350718ea6Smrgfi 43450718ea6Smrg 43550718ea6Smrgtest \$exitcode = 0") || { 43650718ea6Smrg echo No shell found that supports shell functions. 43750718ea6Smrg echo Please tell bug-autoconf@gnu.org about your system, 43850718ea6Smrg echo including any error possibly output before this message. 43950718ea6Smrg echo This can help us improve future autoconf versions. 44050718ea6Smrg echo Configuration will now proceed without shell functions. 44150718ea6Smrg} 44250718ea6Smrg 44350718ea6Smrg 44450718ea6Smrg 44550718ea6Smrg as_lineno_1=$LINENO 44650718ea6Smrg as_lineno_2=$LINENO 44750718ea6Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 44850718ea6Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 449566738d7Smrg 450566738d7Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 451566738d7Smrg # uniformly replaced by the line number. The first 'sed' inserts a 45250718ea6Smrg # line-number line after each line using $LINENO; the second 'sed' 45350718ea6Smrg # does the real work. The second script uses 'N' to pair each 45450718ea6Smrg # line-number line with the line containing $LINENO, and appends 45550718ea6Smrg # trailing '-' during substitution so that $LINENO is not a special 45650718ea6Smrg # case at line end. 457566738d7Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 45850718ea6Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 45950718ea6Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 46050718ea6Smrg sed -n ' 46150718ea6Smrg p 46250718ea6Smrg /[$]LINENO/= 46350718ea6Smrg ' <$as_myself | 464566738d7Smrg sed ' 46550718ea6Smrg s/[$]LINENO.*/&-/ 46650718ea6Smrg t lineno 46750718ea6Smrg b 46850718ea6Smrg :lineno 469566738d7Smrg N 47050718ea6Smrg :loop 47150718ea6Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 472566738d7Smrg t loop 47350718ea6Smrg s/-\n.*// 474566738d7Smrg ' >$as_me.lineno && 47550718ea6Smrg chmod +x "$as_me.lineno" || 47650718ea6Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477566738d7Smrg { (exit 1); exit 1; }; } 478566738d7Smrg 479566738d7Smrg # Don't try to exec as it changes $[0], causing all sort of problems 480566738d7Smrg # (the dirname of $[0] is not the place where we might find the 48150718ea6Smrg # original and so on. Autoconf is especially sensitive to this). 48250718ea6Smrg . "./$as_me.lineno" 483566738d7Smrg # Exit status is that of the last command. 484566738d7Smrg exit 485566738d7Smrg} 486566738d7Smrg 487566738d7Smrg 48850718ea6Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 48950718ea6Smrg as_dirname=dirname 49050718ea6Smrgelse 49150718ea6Smrg as_dirname=false 49250718ea6Smrgfi 493566738d7Smrg 49450718ea6SmrgECHO_C= ECHO_N= ECHO_T= 49550718ea6Smrgcase `echo -n x` in 49650718ea6Smrg-n*) 49750718ea6Smrg case `echo 'x\c'` in 49850718ea6Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 49950718ea6Smrg *) ECHO_C='\c';; 50050718ea6Smrg esac;; 50150718ea6Smrg*) 50250718ea6Smrg ECHO_N='-n';; 50350718ea6Smrgesac 50450718ea6Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 50550718ea6Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 506566738d7Smrg as_expr=expr 507566738d7Smrgelse 508566738d7Smrg as_expr=false 509566738d7Smrgfi 510566738d7Smrg 511566738d7Smrgrm -f conf$$ conf$$.exe conf$$.file 51250718ea6Smrgif test -d conf$$.dir; then 51350718ea6Smrg rm -f conf$$.dir/conf$$.file 51450718ea6Smrgelse 51550718ea6Smrg rm -f conf$$.dir 51650718ea6Smrg mkdir conf$$.dir 2>/dev/null 51750718ea6Smrgfi 51850718ea6Smrgif (echo >conf$$.file) 2>/dev/null; then 51950718ea6Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 520566738d7Smrg as_ln_s='ln -s' 52150718ea6Smrg # ... but there are two gotchas: 52250718ea6Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 52350718ea6Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 52450718ea6Smrg # In both cases, we have to default to `cp -p'. 52550718ea6Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 52650718ea6Smrg as_ln_s='cp -p' 52750718ea6Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 52850718ea6Smrg as_ln_s=ln 52950718ea6Smrg else 53050718ea6Smrg as_ln_s='cp -p' 531566738d7Smrg fi 532566738d7Smrgelse 533566738d7Smrg as_ln_s='cp -p' 534566738d7Smrgfi 53550718ea6Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 53650718ea6Smrgrmdir conf$$.dir 2>/dev/null 537566738d7Smrg 538566738d7Smrgif mkdir -p . 2>/dev/null; then 539566738d7Smrg as_mkdir_p=: 540566738d7Smrgelse 541566738d7Smrg test -d ./-p && rmdir ./-p 542566738d7Smrg as_mkdir_p=false 543566738d7Smrgfi 544566738d7Smrg 54550718ea6Smrgif test -x / >/dev/null 2>&1; then 54650718ea6Smrg as_test_x='test -x' 54750718ea6Smrgelse 54850718ea6Smrg if ls -dL / >/dev/null 2>&1; then 54950718ea6Smrg as_ls_L_option=L 55050718ea6Smrg else 55150718ea6Smrg as_ls_L_option= 55250718ea6Smrg fi 55350718ea6Smrg as_test_x=' 55450718ea6Smrg eval sh -c '\'' 55550718ea6Smrg if test -d "$1"; then 55650718ea6Smrg test -d "$1/."; 55750718ea6Smrg else 55850718ea6Smrg case $1 in 55950718ea6Smrg -*)set "./$1";; 56050718ea6Smrg esac; 56150718ea6Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 56250718ea6Smrg ???[sx]*):;;*)false;;esac;fi 56350718ea6Smrg '\'' sh 56450718ea6Smrg ' 56550718ea6Smrgfi 56650718ea6Smrgas_executable_p=$as_test_x 567566738d7Smrg 568566738d7Smrg# Sed expression to map a string onto a valid CPP name. 569566738d7Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 570566738d7Smrg 571566738d7Smrg# Sed expression to map a string onto a valid variable name. 572566738d7Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 573566738d7Smrg 574566738d7Smrg 575566738d7Smrg 57650718ea6Smrgexec 7<&0 </dev/null 6>&1 577566738d7Smrg 578566738d7Smrg# Name of the host. 579566738d7Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 580566738d7Smrg# so uname gets run too. 581566738d7Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 582566738d7Smrg 583566738d7Smrg# 584566738d7Smrg# Initializations. 585566738d7Smrg# 586566738d7Smrgac_default_prefix=/usr/local 58750718ea6Smrgac_clean_files= 588566738d7Smrgac_config_libobj_dir=. 58950718ea6SmrgLIBOBJS= 590566738d7Smrgcross_compiling=no 591566738d7Smrgsubdirs= 592566738d7SmrgMFLAGS= 593566738d7SmrgMAKEFLAGS= 594566738d7SmrgSHELL=${CONFIG_SHELL-/bin/sh} 595566738d7Smrg 596566738d7Smrg# Identity of this package. 597566738d7SmrgPACKAGE_NAME='XProxyManagementProtocol' 598566738d7SmrgPACKAGE_TARNAME='xproxymanagementprotocol' 59950718ea6SmrgPACKAGE_VERSION='1.0.3' 60050718ea6SmrgPACKAGE_STRING='XProxyManagementProtocol 1.0.3' 601566738d7SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 602566738d7Smrg 60350718ea6Smrg# Factoring default headers for most tests. 60450718ea6Smrgac_includes_default="\ 60550718ea6Smrg#include <stdio.h> 60650718ea6Smrg#ifdef HAVE_SYS_TYPES_H 60750718ea6Smrg# include <sys/types.h> 60850718ea6Smrg#endif 60950718ea6Smrg#ifdef HAVE_SYS_STAT_H 61050718ea6Smrg# include <sys/stat.h> 61150718ea6Smrg#endif 61250718ea6Smrg#ifdef STDC_HEADERS 61350718ea6Smrg# include <stdlib.h> 61450718ea6Smrg# include <stddef.h> 61550718ea6Smrg#else 61650718ea6Smrg# ifdef HAVE_STDLIB_H 61750718ea6Smrg# include <stdlib.h> 61850718ea6Smrg# endif 61950718ea6Smrg#endif 62050718ea6Smrg#ifdef HAVE_STRING_H 62150718ea6Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 62250718ea6Smrg# include <memory.h> 62350718ea6Smrg# endif 62450718ea6Smrg# include <string.h> 62550718ea6Smrg#endif 62650718ea6Smrg#ifdef HAVE_STRINGS_H 62750718ea6Smrg# include <strings.h> 62850718ea6Smrg#endif 62950718ea6Smrg#ifdef HAVE_INTTYPES_H 63050718ea6Smrg# include <inttypes.h> 63150718ea6Smrg#endif 63250718ea6Smrg#ifdef HAVE_STDINT_H 63350718ea6Smrg# include <stdint.h> 63450718ea6Smrg#endif 63550718ea6Smrg#ifdef HAVE_UNISTD_H 63650718ea6Smrg# include <unistd.h> 63750718ea6Smrg#endif" 63850718ea6Smrg 63950718ea6Smrgac_subst_vars='am__EXEEXT_FALSE 64050718ea6Smrgam__EXEEXT_TRUE 64150718ea6SmrgLTLIBOBJS 64250718ea6SmrgLIBOBJS 64350718ea6SmrgADMIN_MAN_DIR 64450718ea6SmrgDRIVER_MAN_DIR 64550718ea6SmrgMISC_MAN_DIR 64650718ea6SmrgFILE_MAN_DIR 64750718ea6SmrgLIB_MAN_DIR 64850718ea6SmrgAPP_MAN_DIR 64950718ea6SmrgADMIN_MAN_SUFFIX 65050718ea6SmrgDRIVER_MAN_SUFFIX 65150718ea6SmrgMISC_MAN_SUFFIX 65250718ea6SmrgFILE_MAN_SUFFIX 65350718ea6SmrgLIB_MAN_SUFFIX 65450718ea6SmrgAPP_MAN_SUFFIX 65550718ea6Smrghost_os 65650718ea6Smrghost_vendor 65750718ea6Smrghost_cpu 65850718ea6Smrghost 65950718ea6Smrgbuild_os 66050718ea6Smrgbuild_vendor 66150718ea6Smrgbuild_cpu 66250718ea6Smrgbuild 66350718ea6Smrgdistcleancheck_listfiles 66450718ea6SmrgCHANGELOG_CMD 66550718ea6SmrgAM_BACKSLASH 66650718ea6SmrgAM_DEFAULT_VERBOSITY 66750718ea6SmrgCWARNFLAGS 66850718ea6SmrgEGREP 66950718ea6SmrgGREP 67050718ea6SmrgCPP 67150718ea6Smrgam__fastdepCC_FALSE 67250718ea6Smrgam__fastdepCC_TRUE 67350718ea6SmrgCCDEPMODE 67450718ea6SmrgAMDEPBACKSLASH 67550718ea6SmrgAMDEP_FALSE 67650718ea6SmrgAMDEP_TRUE 67750718ea6Smrgam__quote 67850718ea6Smrgam__include 67950718ea6SmrgDEPDIR 68050718ea6SmrgOBJEXT 68150718ea6SmrgEXEEXT 68250718ea6Smrgac_ct_CC 68350718ea6SmrgCPPFLAGS 68450718ea6SmrgLDFLAGS 68550718ea6SmrgCFLAGS 68650718ea6SmrgCC 68750718ea6Smrgam__untar 68850718ea6Smrgam__tar 68950718ea6SmrgAMTAR 69050718ea6Smrgam__leading_dot 69150718ea6SmrgSET_MAKE 69250718ea6SmrgAWK 69350718ea6Smrgmkdir_p 69450718ea6SmrgMKDIR_P 69550718ea6SmrgINSTALL_STRIP_PROGRAM 69650718ea6SmrgSTRIP 69750718ea6Smrginstall_sh 69850718ea6SmrgMAKEINFO 69950718ea6SmrgAUTOHEADER 70050718ea6SmrgAUTOMAKE 70150718ea6SmrgAUTOCONF 70250718ea6SmrgACLOCAL 70350718ea6SmrgVERSION 70450718ea6SmrgPACKAGE 70550718ea6SmrgCYGPATH_W 70650718ea6Smrgam__isrc 70750718ea6SmrgINSTALL_DATA 70850718ea6SmrgINSTALL_SCRIPT 70950718ea6SmrgINSTALL_PROGRAM 71050718ea6Smrgtarget_alias 71150718ea6Smrghost_alias 71250718ea6Smrgbuild_alias 71350718ea6SmrgLIBS 71450718ea6SmrgECHO_T 71550718ea6SmrgECHO_N 71650718ea6SmrgECHO_C 71750718ea6SmrgDEFS 71850718ea6Smrgmandir 71950718ea6Smrglocaledir 72050718ea6Smrglibdir 72150718ea6Smrgpsdir 72250718ea6Smrgpdfdir 72350718ea6Smrgdvidir 72450718ea6Smrghtmldir 72550718ea6Smrginfodir 72650718ea6Smrgdocdir 72750718ea6Smrgoldincludedir 72850718ea6Smrgincludedir 72950718ea6Smrglocalstatedir 73050718ea6Smrgsharedstatedir 73150718ea6Smrgsysconfdir 73250718ea6Smrgdatadir 73350718ea6Smrgdatarootdir 73450718ea6Smrglibexecdir 73550718ea6Smrgsbindir 73650718ea6Smrgbindir 73750718ea6Smrgprogram_transform_name 73850718ea6Smrgprefix 73950718ea6Smrgexec_prefix 74050718ea6SmrgPACKAGE_BUGREPORT 74150718ea6SmrgPACKAGE_STRING 74250718ea6SmrgPACKAGE_VERSION 74350718ea6SmrgPACKAGE_TARNAME 74450718ea6SmrgPACKAGE_NAME 74550718ea6SmrgPATH_SEPARATOR 74650718ea6SmrgSHELL' 747566738d7Smrgac_subst_files='' 74850718ea6Smrgac_user_opts=' 74950718ea6Smrgenable_option_checking 75050718ea6Smrgenable_dependency_tracking 75150718ea6Smrgenable_silent_rules 75250718ea6Smrgenable_strict_compilation 75350718ea6Smrgwith_release_version 75450718ea6Smrg' 75550718ea6Smrg ac_precious_vars='build_alias 75650718ea6Smrghost_alias 75750718ea6Smrgtarget_alias 75850718ea6SmrgCC 75950718ea6SmrgCFLAGS 76050718ea6SmrgLDFLAGS 76150718ea6SmrgLIBS 76250718ea6SmrgCPPFLAGS 76350718ea6SmrgCPP' 76450718ea6Smrg 765566738d7Smrg 766566738d7Smrg# Initialize some variables set by options. 767566738d7Smrgac_init_help= 768566738d7Smrgac_init_version=false 76950718ea6Smrgac_unrecognized_opts= 77050718ea6Smrgac_unrecognized_sep= 771566738d7Smrg# The variables have the same names as the options, with 772566738d7Smrg# dashes changed to underlines. 773566738d7Smrgcache_file=/dev/null 774566738d7Smrgexec_prefix=NONE 775566738d7Smrgno_create= 776566738d7Smrgno_recursion= 777566738d7Smrgprefix=NONE 778566738d7Smrgprogram_prefix=NONE 779566738d7Smrgprogram_suffix=NONE 780566738d7Smrgprogram_transform_name=s,x,x, 781566738d7Smrgsilent= 782566738d7Smrgsite= 783566738d7Smrgsrcdir= 784566738d7Smrgverbose= 785566738d7Smrgx_includes=NONE 786566738d7Smrgx_libraries=NONE 787566738d7Smrg 788566738d7Smrg# Installation directory options. 789566738d7Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 790566738d7Smrg# and all the variables that are supposed to be based on exec_prefix 791566738d7Smrg# by default will actually change. 792566738d7Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 79350718ea6Smrg# (The list follows the same order as the GNU Coding Standards.) 794566738d7Smrgbindir='${exec_prefix}/bin' 795566738d7Smrgsbindir='${exec_prefix}/sbin' 796566738d7Smrglibexecdir='${exec_prefix}/libexec' 79750718ea6Smrgdatarootdir='${prefix}/share' 79850718ea6Smrgdatadir='${datarootdir}' 799566738d7Smrgsysconfdir='${prefix}/etc' 800566738d7Smrgsharedstatedir='${prefix}/com' 801566738d7Smrglocalstatedir='${prefix}/var' 802566738d7Smrgincludedir='${prefix}/include' 803566738d7Smrgoldincludedir='/usr/include' 80450718ea6Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 80550718ea6Smrginfodir='${datarootdir}/info' 80650718ea6Smrghtmldir='${docdir}' 80750718ea6Smrgdvidir='${docdir}' 80850718ea6Smrgpdfdir='${docdir}' 80950718ea6Smrgpsdir='${docdir}' 81050718ea6Smrglibdir='${exec_prefix}/lib' 81150718ea6Smrglocaledir='${datarootdir}/locale' 81250718ea6Smrgmandir='${datarootdir}/man' 813566738d7Smrg 814566738d7Smrgac_prev= 81550718ea6Smrgac_dashdash= 816566738d7Smrgfor ac_option 817566738d7Smrgdo 818566738d7Smrg # If the previous option needs an argument, assign it. 819566738d7Smrg if test -n "$ac_prev"; then 82050718ea6Smrg eval $ac_prev=\$ac_option 821566738d7Smrg ac_prev= 822566738d7Smrg continue 823566738d7Smrg fi 824566738d7Smrg 82550718ea6Smrg case $ac_option in 82650718ea6Smrg *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 82750718ea6Smrg *) ac_optarg=yes ;; 82850718ea6Smrg esac 829566738d7Smrg 830566738d7Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 831566738d7Smrg 83250718ea6Smrg case $ac_dashdash$ac_option in 83350718ea6Smrg --) 83450718ea6Smrg ac_dashdash=yes ;; 835566738d7Smrg 836566738d7Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 837566738d7Smrg ac_prev=bindir ;; 838566738d7Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 839566738d7Smrg bindir=$ac_optarg ;; 840566738d7Smrg 841566738d7Smrg -build | --build | --buil | --bui | --bu) 842566738d7Smrg ac_prev=build_alias ;; 843566738d7Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 844566738d7Smrg build_alias=$ac_optarg ;; 845566738d7Smrg 846566738d7Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 847566738d7Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 848566738d7Smrg ac_prev=cache_file ;; 849566738d7Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 850566738d7Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 851566738d7Smrg cache_file=$ac_optarg ;; 852566738d7Smrg 853566738d7Smrg --config-cache | -C) 854566738d7Smrg cache_file=config.cache ;; 855566738d7Smrg 85650718ea6Smrg -datadir | --datadir | --datadi | --datad) 857566738d7Smrg ac_prev=datadir ;; 85850718ea6Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 859566738d7Smrg datadir=$ac_optarg ;; 860566738d7Smrg 86150718ea6Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 86250718ea6Smrg | --dataroo | --dataro | --datar) 86350718ea6Smrg ac_prev=datarootdir ;; 86450718ea6Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 86550718ea6Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 86650718ea6Smrg datarootdir=$ac_optarg ;; 86750718ea6Smrg 868566738d7Smrg -disable-* | --disable-*) 86950718ea6Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 870566738d7Smrg # Reject names that are not valid shell variable names. 87150718ea6Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 87250718ea6Smrg { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 873566738d7Smrg { (exit 1); exit 1; }; } 87450718ea6Smrg ac_useropt_orig=$ac_useropt 87550718ea6Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 87650718ea6Smrg case $ac_user_opts in 87750718ea6Smrg *" 87850718ea6Smrg"enable_$ac_useropt" 87950718ea6Smrg"*) ;; 88050718ea6Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 88150718ea6Smrg ac_unrecognized_sep=', ';; 88250718ea6Smrg esac 88350718ea6Smrg eval enable_$ac_useropt=no ;; 88450718ea6Smrg 88550718ea6Smrg -docdir | --docdir | --docdi | --doc | --do) 88650718ea6Smrg ac_prev=docdir ;; 88750718ea6Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 88850718ea6Smrg docdir=$ac_optarg ;; 88950718ea6Smrg 89050718ea6Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 89150718ea6Smrg ac_prev=dvidir ;; 89250718ea6Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 89350718ea6Smrg dvidir=$ac_optarg ;; 894566738d7Smrg 895566738d7Smrg -enable-* | --enable-*) 89650718ea6Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 897566738d7Smrg # Reject names that are not valid shell variable names. 89850718ea6Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 89950718ea6Smrg { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 900566738d7Smrg { (exit 1); exit 1; }; } 90150718ea6Smrg ac_useropt_orig=$ac_useropt 90250718ea6Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 90350718ea6Smrg case $ac_user_opts in 90450718ea6Smrg *" 90550718ea6Smrg"enable_$ac_useropt" 90650718ea6Smrg"*) ;; 90750718ea6Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 90850718ea6Smrg ac_unrecognized_sep=', ';; 909566738d7Smrg esac 91050718ea6Smrg eval enable_$ac_useropt=\$ac_optarg ;; 911566738d7Smrg 912566738d7Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 913566738d7Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 914566738d7Smrg | --exec | --exe | --ex) 915566738d7Smrg ac_prev=exec_prefix ;; 916566738d7Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 917566738d7Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 918566738d7Smrg | --exec=* | --exe=* | --ex=*) 919566738d7Smrg exec_prefix=$ac_optarg ;; 920566738d7Smrg 921566738d7Smrg -gas | --gas | --ga | --g) 922566738d7Smrg # Obsolete; use --with-gas. 923566738d7Smrg with_gas=yes ;; 924566738d7Smrg 925566738d7Smrg -help | --help | --hel | --he | -h) 926566738d7Smrg ac_init_help=long ;; 927566738d7Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 928566738d7Smrg ac_init_help=recursive ;; 929566738d7Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 930566738d7Smrg ac_init_help=short ;; 931566738d7Smrg 932566738d7Smrg -host | --host | --hos | --ho) 933566738d7Smrg ac_prev=host_alias ;; 934566738d7Smrg -host=* | --host=* | --hos=* | --ho=*) 935566738d7Smrg host_alias=$ac_optarg ;; 936566738d7Smrg 93750718ea6Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 93850718ea6Smrg ac_prev=htmldir ;; 93950718ea6Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 94050718ea6Smrg | --ht=*) 94150718ea6Smrg htmldir=$ac_optarg ;; 94250718ea6Smrg 943566738d7Smrg -includedir | --includedir | --includedi | --included | --include \ 944566738d7Smrg | --includ | --inclu | --incl | --inc) 945566738d7Smrg ac_prev=includedir ;; 946566738d7Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 947566738d7Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 948566738d7Smrg includedir=$ac_optarg ;; 949566738d7Smrg 950566738d7Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 951566738d7Smrg ac_prev=infodir ;; 952566738d7Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 953566738d7Smrg infodir=$ac_optarg ;; 954566738d7Smrg 955566738d7Smrg -libdir | --libdir | --libdi | --libd) 956566738d7Smrg ac_prev=libdir ;; 957566738d7Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 958566738d7Smrg libdir=$ac_optarg ;; 959566738d7Smrg 960566738d7Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 961566738d7Smrg | --libexe | --libex | --libe) 962566738d7Smrg ac_prev=libexecdir ;; 963566738d7Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 964566738d7Smrg | --libexe=* | --libex=* | --libe=*) 965566738d7Smrg libexecdir=$ac_optarg ;; 966566738d7Smrg 96750718ea6Smrg -localedir | --localedir | --localedi | --localed | --locale) 96850718ea6Smrg ac_prev=localedir ;; 96950718ea6Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 97050718ea6Smrg localedir=$ac_optarg ;; 97150718ea6Smrg 972566738d7Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 97350718ea6Smrg | --localstate | --localstat | --localsta | --localst | --locals) 974566738d7Smrg ac_prev=localstatedir ;; 975566738d7Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 97650718ea6Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 977566738d7Smrg localstatedir=$ac_optarg ;; 978566738d7Smrg 979566738d7Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 980566738d7Smrg ac_prev=mandir ;; 981566738d7Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 982566738d7Smrg mandir=$ac_optarg ;; 983566738d7Smrg 984566738d7Smrg -nfp | --nfp | --nf) 985566738d7Smrg # Obsolete; use --without-fp. 986566738d7Smrg with_fp=no ;; 987566738d7Smrg 988566738d7Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 989566738d7Smrg | --no-cr | --no-c | -n) 990566738d7Smrg no_create=yes ;; 991566738d7Smrg 992566738d7Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 993566738d7Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 994566738d7Smrg no_recursion=yes ;; 995566738d7Smrg 996566738d7Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 997566738d7Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 998566738d7Smrg | --oldin | --oldi | --old | --ol | --o) 999566738d7Smrg ac_prev=oldincludedir ;; 1000566738d7Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1001566738d7Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1002566738d7Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1003566738d7Smrg oldincludedir=$ac_optarg ;; 1004566738d7Smrg 1005566738d7Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1006566738d7Smrg ac_prev=prefix ;; 1007566738d7Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1008566738d7Smrg prefix=$ac_optarg ;; 1009566738d7Smrg 1010566738d7Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1011566738d7Smrg | --program-pre | --program-pr | --program-p) 1012566738d7Smrg ac_prev=program_prefix ;; 1013566738d7Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1014566738d7Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1015566738d7Smrg program_prefix=$ac_optarg ;; 1016566738d7Smrg 1017566738d7Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1018566738d7Smrg | --program-suf | --program-su | --program-s) 1019566738d7Smrg ac_prev=program_suffix ;; 1020566738d7Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1021566738d7Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1022566738d7Smrg program_suffix=$ac_optarg ;; 1023566738d7Smrg 1024566738d7Smrg -program-transform-name | --program-transform-name \ 1025566738d7Smrg | --program-transform-nam | --program-transform-na \ 1026566738d7Smrg | --program-transform-n | --program-transform- \ 1027566738d7Smrg | --program-transform | --program-transfor \ 1028566738d7Smrg | --program-transfo | --program-transf \ 1029566738d7Smrg | --program-trans | --program-tran \ 1030566738d7Smrg | --progr-tra | --program-tr | --program-t) 1031566738d7Smrg ac_prev=program_transform_name ;; 1032566738d7Smrg -program-transform-name=* | --program-transform-name=* \ 1033566738d7Smrg | --program-transform-nam=* | --program-transform-na=* \ 1034566738d7Smrg | --program-transform-n=* | --program-transform-=* \ 1035566738d7Smrg | --program-transform=* | --program-transfor=* \ 1036566738d7Smrg | --program-transfo=* | --program-transf=* \ 1037566738d7Smrg | --program-trans=* | --program-tran=* \ 1038566738d7Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 1039566738d7Smrg program_transform_name=$ac_optarg ;; 1040566738d7Smrg 104150718ea6Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 104250718ea6Smrg ac_prev=pdfdir ;; 104350718ea6Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 104450718ea6Smrg pdfdir=$ac_optarg ;; 104550718ea6Smrg 104650718ea6Smrg -psdir | --psdir | --psdi | --psd | --ps) 104750718ea6Smrg ac_prev=psdir ;; 104850718ea6Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 104950718ea6Smrg psdir=$ac_optarg ;; 105050718ea6Smrg 1051566738d7Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1052566738d7Smrg | -silent | --silent | --silen | --sile | --sil) 1053566738d7Smrg silent=yes ;; 1054566738d7Smrg 1055566738d7Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1056566738d7Smrg ac_prev=sbindir ;; 1057566738d7Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1058566738d7Smrg | --sbi=* | --sb=*) 1059566738d7Smrg sbindir=$ac_optarg ;; 1060566738d7Smrg 1061566738d7Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1062566738d7Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1063566738d7Smrg | --sharedst | --shareds | --shared | --share | --shar \ 1064566738d7Smrg | --sha | --sh) 1065566738d7Smrg ac_prev=sharedstatedir ;; 1066566738d7Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1067566738d7Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1068566738d7Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1069566738d7Smrg | --sha=* | --sh=*) 1070566738d7Smrg sharedstatedir=$ac_optarg ;; 1071566738d7Smrg 1072566738d7Smrg -site | --site | --sit) 1073566738d7Smrg ac_prev=site ;; 1074566738d7Smrg -site=* | --site=* | --sit=*) 1075566738d7Smrg site=$ac_optarg ;; 1076566738d7Smrg 1077566738d7Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1078566738d7Smrg ac_prev=srcdir ;; 1079566738d7Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1080566738d7Smrg srcdir=$ac_optarg ;; 1081566738d7Smrg 1082566738d7Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1083566738d7Smrg | --syscon | --sysco | --sysc | --sys | --sy) 1084566738d7Smrg ac_prev=sysconfdir ;; 1085566738d7Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1086566738d7Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1087566738d7Smrg sysconfdir=$ac_optarg ;; 1088566738d7Smrg 1089566738d7Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 1090566738d7Smrg ac_prev=target_alias ;; 1091566738d7Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1092566738d7Smrg target_alias=$ac_optarg ;; 1093566738d7Smrg 1094566738d7Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 1095566738d7Smrg verbose=yes ;; 1096566738d7Smrg 1097566738d7Smrg -version | --version | --versio | --versi | --vers | -V) 1098566738d7Smrg ac_init_version=: ;; 1099566738d7Smrg 1100566738d7Smrg -with-* | --with-*) 110150718ea6Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1102566738d7Smrg # Reject names that are not valid shell variable names. 110350718ea6Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 110450718ea6Smrg { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1105566738d7Smrg { (exit 1); exit 1; }; } 110650718ea6Smrg ac_useropt_orig=$ac_useropt 110750718ea6Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 110850718ea6Smrg case $ac_user_opts in 110950718ea6Smrg *" 111050718ea6Smrg"with_$ac_useropt" 111150718ea6Smrg"*) ;; 111250718ea6Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 111350718ea6Smrg ac_unrecognized_sep=', ';; 1114566738d7Smrg esac 111550718ea6Smrg eval with_$ac_useropt=\$ac_optarg ;; 1116566738d7Smrg 1117566738d7Smrg -without-* | --without-*) 111850718ea6Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1119566738d7Smrg # Reject names that are not valid shell variable names. 112050718ea6Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 112150718ea6Smrg { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1122566738d7Smrg { (exit 1); exit 1; }; } 112350718ea6Smrg ac_useropt_orig=$ac_useropt 112450718ea6Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 112550718ea6Smrg case $ac_user_opts in 112650718ea6Smrg *" 112750718ea6Smrg"with_$ac_useropt" 112850718ea6Smrg"*) ;; 112950718ea6Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 113050718ea6Smrg ac_unrecognized_sep=', ';; 113150718ea6Smrg esac 113250718ea6Smrg eval with_$ac_useropt=no ;; 1133566738d7Smrg 1134566738d7Smrg --x) 1135566738d7Smrg # Obsolete; use --with-x. 1136566738d7Smrg with_x=yes ;; 1137566738d7Smrg 1138566738d7Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1139566738d7Smrg | --x-incl | --x-inc | --x-in | --x-i) 1140566738d7Smrg ac_prev=x_includes ;; 1141566738d7Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1142566738d7Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1143566738d7Smrg x_includes=$ac_optarg ;; 1144566738d7Smrg 1145566738d7Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1146566738d7Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1147566738d7Smrg ac_prev=x_libraries ;; 1148566738d7Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1149566738d7Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1150566738d7Smrg x_libraries=$ac_optarg ;; 1151566738d7Smrg 115250718ea6Smrg -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1153566738d7SmrgTry \`$0 --help' for more information." >&2 1154566738d7Smrg { (exit 1); exit 1; }; } 1155566738d7Smrg ;; 1156566738d7Smrg 1157566738d7Smrg *=*) 1158566738d7Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1159566738d7Smrg # Reject names that are not valid shell variable names. 1160566738d7Smrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 116150718ea6Smrg { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1162566738d7Smrg { (exit 1); exit 1; }; } 116350718ea6Smrg eval $ac_envvar=\$ac_optarg 1164566738d7Smrg export $ac_envvar ;; 1165566738d7Smrg 1166566738d7Smrg *) 1167566738d7Smrg # FIXME: should be removed in autoconf 3.0. 116850718ea6Smrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1169566738d7Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 117050718ea6Smrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1171566738d7Smrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1172566738d7Smrg ;; 1173566738d7Smrg 1174566738d7Smrg esac 1175566738d7Smrgdone 1176566738d7Smrg 1177566738d7Smrgif test -n "$ac_prev"; then 1178566738d7Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 117950718ea6Smrg { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1180566738d7Smrg { (exit 1); exit 1; }; } 1181566738d7Smrgfi 1182566738d7Smrg 118350718ea6Smrgif test -n "$ac_unrecognized_opts"; then 118450718ea6Smrg case $enable_option_checking in 118550718ea6Smrg no) ;; 118650718ea6Smrg fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 118750718ea6Smrg { (exit 1); exit 1; }; } ;; 118850718ea6Smrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1189566738d7Smrg esac 119050718ea6Smrgfi 1191566738d7Smrg 119250718ea6Smrg# Check all directory arguments for consistency. 119350718ea6Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 119450718ea6Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 119550718ea6Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 119650718ea6Smrg libdir localedir mandir 1197566738d7Smrgdo 119850718ea6Smrg eval ac_val=\$$ac_var 119950718ea6Smrg # Remove trailing slashes. 1200566738d7Smrg case $ac_val in 120150718ea6Smrg */ ) 120250718ea6Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 120350718ea6Smrg eval $ac_var=\$ac_val;; 120450718ea6Smrg esac 120550718ea6Smrg # Be sure to have absolute directory names. 120650718ea6Smrg case $ac_val in 120750718ea6Smrg [\\/$]* | ?:[\\/]* ) continue;; 120850718ea6Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1209566738d7Smrg esac 121050718ea6Smrg { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 121150718ea6Smrg { (exit 1); exit 1; }; } 1212566738d7Smrgdone 1213566738d7Smrg 1214566738d7Smrg# There might be people who depend on the old broken behavior: `$host' 1215566738d7Smrg# used to hold the argument of --host etc. 1216566738d7Smrg# FIXME: To remove some day. 1217566738d7Smrgbuild=$build_alias 1218566738d7Smrghost=$host_alias 1219566738d7Smrgtarget=$target_alias 1220566738d7Smrg 1221566738d7Smrg# FIXME: To remove some day. 1222566738d7Smrgif test "x$host_alias" != x; then 1223566738d7Smrg if test "x$build_alias" = x; then 1224566738d7Smrg cross_compiling=maybe 122550718ea6Smrg $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1226566738d7Smrg If a cross compiler is detected then cross compile mode will be used." >&2 1227566738d7Smrg elif test "x$build_alias" != "x$host_alias"; then 1228566738d7Smrg cross_compiling=yes 1229566738d7Smrg fi 1230566738d7Smrgfi 1231566738d7Smrg 1232566738d7Smrgac_tool_prefix= 1233566738d7Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 1234566738d7Smrg 1235566738d7Smrgtest "$silent" = yes && exec 6>/dev/null 1236566738d7Smrg 1237566738d7Smrg 123850718ea6Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 123950718ea6Smrgac_ls_di=`ls -di .` && 124050718ea6Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 124150718ea6Smrg { $as_echo "$as_me: error: working directory cannot be determined" >&2 124250718ea6Smrg { (exit 1); exit 1; }; } 124350718ea6Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 124450718ea6Smrg { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 124550718ea6Smrg { (exit 1); exit 1; }; } 124650718ea6Smrg 124750718ea6Smrg 1248566738d7Smrg# Find the source files, if location was not specified. 1249566738d7Smrgif test -z "$srcdir"; then 1250566738d7Smrg ac_srcdir_defaulted=yes 125150718ea6Smrg # Try the directory containing this script, then the parent directory. 125250718ea6Smrg ac_confdir=`$as_dirname -- "$as_myself" || 125350718ea6Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 125450718ea6Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 125550718ea6Smrg X"$as_myself" : 'X\(//\)$' \| \ 125650718ea6Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 125750718ea6Smrg$as_echo X"$as_myself" | 125850718ea6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 125950718ea6Smrg s//\1/ 126050718ea6Smrg q 126150718ea6Smrg } 126250718ea6Smrg /^X\(\/\/\)[^/].*/{ 126350718ea6Smrg s//\1/ 126450718ea6Smrg q 126550718ea6Smrg } 126650718ea6Smrg /^X\(\/\/\)$/{ 126750718ea6Smrg s//\1/ 126850718ea6Smrg q 126950718ea6Smrg } 127050718ea6Smrg /^X\(\/\).*/{ 127150718ea6Smrg s//\1/ 127250718ea6Smrg q 127350718ea6Smrg } 127450718ea6Smrg s/.*/./; q'` 1275566738d7Smrg srcdir=$ac_confdir 127650718ea6Smrg if test ! -r "$srcdir/$ac_unique_file"; then 1277566738d7Smrg srcdir=.. 1278566738d7Smrg fi 1279566738d7Smrgelse 1280566738d7Smrg ac_srcdir_defaulted=no 1281566738d7Smrgfi 128250718ea6Smrgif test ! -r "$srcdir/$ac_unique_file"; then 128350718ea6Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 128450718ea6Smrg { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1285566738d7Smrg { (exit 1); exit 1; }; } 1286566738d7Smrgfi 128750718ea6Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 128850718ea6Smrgac_abs_confdir=`( 128950718ea6Smrg cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1290566738d7Smrg { (exit 1); exit 1; }; } 129150718ea6Smrg pwd)` 129250718ea6Smrg# When building in place, set srcdir=. 129350718ea6Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 129450718ea6Smrg srcdir=. 129550718ea6Smrgfi 129650718ea6Smrg# Remove unnecessary trailing slashes from srcdir. 129750718ea6Smrg# Double slashes in file names in object file debugging info 129850718ea6Smrg# mess up M-x gdb in Emacs. 129950718ea6Smrgcase $srcdir in 130050718ea6Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 130150718ea6Smrgesac 130250718ea6Smrgfor ac_var in $ac_precious_vars; do 130350718ea6Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 130450718ea6Smrg eval ac_env_${ac_var}_value=\$${ac_var} 130550718ea6Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 130650718ea6Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 130750718ea6Smrgdone 1308566738d7Smrg 1309566738d7Smrg# 1310566738d7Smrg# Report the --help message. 1311566738d7Smrg# 1312566738d7Smrgif test "$ac_init_help" = "long"; then 1313566738d7Smrg # Omit some internal or obsolete options to make the list less imposing. 1314566738d7Smrg # This message is too long to be a string in the A/UX 3.1 sh. 1315566738d7Smrg cat <<_ACEOF 131650718ea6Smrg\`configure' configures XProxyManagementProtocol 1.0.3 to adapt to many kinds of systems. 1317566738d7Smrg 1318566738d7SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 1319566738d7Smrg 1320566738d7SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1321566738d7SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 1322566738d7Smrg 1323566738d7SmrgDefaults for the options are specified in brackets. 1324566738d7Smrg 1325566738d7SmrgConfiguration: 1326566738d7Smrg -h, --help display this help and exit 1327566738d7Smrg --help=short display options specific to this package 1328566738d7Smrg --help=recursive display the short help of all the included packages 1329566738d7Smrg -V, --version display version information and exit 1330566738d7Smrg -q, --quiet, --silent do not print \`checking...' messages 1331566738d7Smrg --cache-file=FILE cache test results in FILE [disabled] 1332566738d7Smrg -C, --config-cache alias for \`--cache-file=config.cache' 1333566738d7Smrg -n, --no-create do not create output files 1334566738d7Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1335566738d7Smrg 1336566738d7SmrgInstallation directories: 1337566738d7Smrg --prefix=PREFIX install architecture-independent files in PREFIX 133850718ea6Smrg [$ac_default_prefix] 1339566738d7Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 134050718ea6Smrg [PREFIX] 1341566738d7Smrg 1342566738d7SmrgBy default, \`make install' will install all the files in 1343566738d7Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1344566738d7Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1345566738d7Smrgfor instance \`--prefix=\$HOME'. 1346566738d7Smrg 1347566738d7SmrgFor better control, use the options below. 1348566738d7Smrg 1349566738d7SmrgFine tuning of the installation directories: 135050718ea6Smrg --bindir=DIR user executables [EPREFIX/bin] 135150718ea6Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 135250718ea6Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 135350718ea6Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 135450718ea6Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 135550718ea6Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 135650718ea6Smrg --libdir=DIR object code libraries [EPREFIX/lib] 135750718ea6Smrg --includedir=DIR C header files [PREFIX/include] 135850718ea6Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 135950718ea6Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 136050718ea6Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 136150718ea6Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 136250718ea6Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 136350718ea6Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 136450718ea6Smrg --docdir=DIR documentation root 136550718ea6Smrg [DATAROOTDIR/doc/xproxymanagementprotocol] 136650718ea6Smrg --htmldir=DIR html documentation [DOCDIR] 136750718ea6Smrg --dvidir=DIR dvi documentation [DOCDIR] 136850718ea6Smrg --pdfdir=DIR pdf documentation [DOCDIR] 136950718ea6Smrg --psdir=DIR ps documentation [DOCDIR] 1370566738d7Smrg_ACEOF 1371566738d7Smrg 1372566738d7Smrg cat <<\_ACEOF 1373566738d7Smrg 1374566738d7SmrgProgram names: 1375566738d7Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 1376566738d7Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 1377566738d7Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 137850718ea6Smrg 137950718ea6SmrgSystem types: 138050718ea6Smrg --build=BUILD configure for building on BUILD [guessed] 138150718ea6Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 1382566738d7Smrg_ACEOF 1383566738d7Smrgfi 1384566738d7Smrg 1385566738d7Smrgif test -n "$ac_init_help"; then 1386566738d7Smrg case $ac_init_help in 138750718ea6Smrg short | recursive ) echo "Configuration of XProxyManagementProtocol 1.0.3:";; 1388566738d7Smrg esac 1389566738d7Smrg cat <<\_ACEOF 1390566738d7Smrg 139150718ea6SmrgOptional Features: 139250718ea6Smrg --disable-option-checking ignore unrecognized --enable/--with options 139350718ea6Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 139450718ea6Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 139550718ea6Smrg --disable-dependency-tracking speeds up one-time build 139650718ea6Smrg --enable-dependency-tracking do not reject slow dependency extractors 139750718ea6Smrg --enable-silent-rules less verbose build output (undo: `make V=1') 139850718ea6Smrg --disable-silent-rules verbose build output (undo: `make V=0') 139950718ea6Smrg --enable-strict-compilation 140050718ea6Smrg Enable all warnings from compiler and make them 140150718ea6Smrg errors (default: disabled) 140250718ea6Smrg 1403566738d7SmrgOptional Packages: 1404566738d7Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1405566738d7Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1406566738d7Smrg --with-release-version=STRING 1407566738d7Smrg Use release version string in package name 1408566738d7Smrg 140950718ea6SmrgSome influential environment variables: 141050718ea6Smrg CC C compiler command 141150718ea6Smrg CFLAGS C compiler flags 141250718ea6Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 141350718ea6Smrg nonstandard directory <lib dir> 141450718ea6Smrg LIBS libraries to pass to the linker, e.g. -l<library> 141550718ea6Smrg CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 141650718ea6Smrg you have headers in a nonstandard directory <include dir> 141750718ea6Smrg CPP C preprocessor 141850718ea6Smrg 141950718ea6SmrgUse these variables to override the choices made by `configure' or to help 142050718ea6Smrgit to find libraries and programs with nonstandard names/locations. 142150718ea6Smrg 1422566738d7SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1423566738d7Smrg_ACEOF 142450718ea6Smrgac_status=$? 1425566738d7Smrgfi 1426566738d7Smrg 1427566738d7Smrgif test "$ac_init_help" = "recursive"; then 1428566738d7Smrg # If there are subdirs, report their specific --help. 1429566738d7Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 143050718ea6Smrg test -d "$ac_dir" || 143150718ea6Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 143250718ea6Smrg continue 1433566738d7Smrg ac_builddir=. 1434566738d7Smrg 143550718ea6Smrgcase "$ac_dir" in 143650718ea6Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 143750718ea6Smrg*) 143850718ea6Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 143950718ea6Smrg # A ".." for each directory in $ac_dir_suffix. 144050718ea6Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 144150718ea6Smrg case $ac_top_builddir_sub in 144250718ea6Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 144350718ea6Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 144450718ea6Smrg esac ;; 144550718ea6Smrgesac 144650718ea6Smrgac_abs_top_builddir=$ac_pwd 144750718ea6Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 144850718ea6Smrg# for backward compatibility: 144950718ea6Smrgac_top_builddir=$ac_top_build_prefix 145050718ea6Smrg 1451566738d7Smrgcase $srcdir in 145250718ea6Smrg .) # We are building in place. 1453566738d7Smrg ac_srcdir=. 145450718ea6Smrg ac_top_srcdir=$ac_top_builddir_sub 145550718ea6Smrg ac_abs_top_srcdir=$ac_pwd ;; 145650718ea6Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 1457566738d7Smrg ac_srcdir=$srcdir$ac_dir_suffix; 145850718ea6Smrg ac_top_srcdir=$srcdir 145950718ea6Smrg ac_abs_top_srcdir=$srcdir ;; 146050718ea6Smrg *) # Relative name. 146150718ea6Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 146250718ea6Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 146350718ea6Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1464566738d7Smrgesac 146550718ea6Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 146650718ea6Smrg 146750718ea6Smrg cd "$ac_dir" || { ac_status=$?; continue; } 146850718ea6Smrg # Check for guested configure. 146950718ea6Smrg if test -f "$ac_srcdir/configure.gnu"; then 147050718ea6Smrg echo && 147150718ea6Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 147250718ea6Smrg elif test -f "$ac_srcdir/configure"; then 147350718ea6Smrg echo && 147450718ea6Smrg $SHELL "$ac_srcdir/configure" --help=recursive 1475566738d7Smrg else 147650718ea6Smrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 147750718ea6Smrg fi || ac_status=$? 147850718ea6Smrg cd "$ac_pwd" || { ac_status=$?; break; } 1479566738d7Smrg done 1480566738d7Smrgfi 1481566738d7Smrg 148250718ea6Smrgtest -n "$ac_init_help" && exit $ac_status 1483566738d7Smrgif $ac_init_version; then 1484566738d7Smrg cat <<\_ACEOF 148550718ea6SmrgXProxyManagementProtocol configure 1.0.3 148650718ea6Smrggenerated by GNU Autoconf 2.63 1487566738d7Smrg 148850718ea6SmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 148950718ea6Smrg2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1490566738d7SmrgThis configure script is free software; the Free Software Foundation 1491566738d7Smrggives unlimited permission to copy, distribute and modify it. 1492566738d7Smrg_ACEOF 149350718ea6Smrg exit 1494566738d7Smrgfi 149550718ea6Smrgcat >config.log <<_ACEOF 1496566738d7SmrgThis file contains any messages produced by compilers while 1497566738d7Smrgrunning configure, to aid debugging if configure makes a mistake. 1498566738d7Smrg 149950718ea6SmrgIt was created by XProxyManagementProtocol $as_me 1.0.3, which was 150050718ea6Smrggenerated by GNU Autoconf 2.63. Invocation command line was 1501566738d7Smrg 1502566738d7Smrg $ $0 $@ 1503566738d7Smrg 1504566738d7Smrg_ACEOF 150550718ea6Smrgexec 5>>config.log 1506566738d7Smrg{ 1507566738d7Smrgcat <<_ASUNAME 1508566738d7Smrg## --------- ## 1509566738d7Smrg## Platform. ## 1510566738d7Smrg## --------- ## 1511566738d7Smrg 1512566738d7Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1513566738d7Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 1514566738d7Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 1515566738d7Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 1516566738d7Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 1517566738d7Smrg 1518566738d7Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1519566738d7Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1520566738d7Smrg 1521566738d7Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1522566738d7Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1523566738d7Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 152450718ea6Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1525566738d7Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1526566738d7Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1527566738d7Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1528566738d7Smrg 1529566738d7Smrg_ASUNAME 1530566738d7Smrg 1531566738d7Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1532566738d7Smrgfor as_dir in $PATH 1533566738d7Smrgdo 1534566738d7Smrg IFS=$as_save_IFS 1535566738d7Smrg test -z "$as_dir" && as_dir=. 153650718ea6Smrg $as_echo "PATH: $as_dir" 1537566738d7Smrgdone 153850718ea6SmrgIFS=$as_save_IFS 1539566738d7Smrg 1540566738d7Smrg} >&5 1541566738d7Smrg 1542566738d7Smrgcat >&5 <<_ACEOF 1543566738d7Smrg 1544566738d7Smrg 1545566738d7Smrg## ----------- ## 1546566738d7Smrg## Core tests. ## 1547566738d7Smrg## ----------- ## 1548566738d7Smrg 1549566738d7Smrg_ACEOF 1550566738d7Smrg 1551566738d7Smrg 1552566738d7Smrg# Keep a trace of the command line. 1553566738d7Smrg# Strip out --no-create and --no-recursion so they do not pile up. 1554566738d7Smrg# Strip out --silent because we don't want to record it for future runs. 1555566738d7Smrg# Also quote any args containing shell meta-characters. 1556566738d7Smrg# Make two passes to allow for proper duplicate-argument suppression. 1557566738d7Smrgac_configure_args= 1558566738d7Smrgac_configure_args0= 1559566738d7Smrgac_configure_args1= 1560566738d7Smrgac_must_keep_next=false 1561566738d7Smrgfor ac_pass in 1 2 1562566738d7Smrgdo 1563566738d7Smrg for ac_arg 1564566738d7Smrg do 1565566738d7Smrg case $ac_arg in 1566566738d7Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1567566738d7Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1568566738d7Smrg | -silent | --silent | --silen | --sile | --sil) 1569566738d7Smrg continue ;; 157050718ea6Smrg *\'*) 157150718ea6Smrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1572566738d7Smrg esac 1573566738d7Smrg case $ac_pass in 1574566738d7Smrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1575566738d7Smrg 2) 1576566738d7Smrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1577566738d7Smrg if test $ac_must_keep_next = true; then 1578566738d7Smrg ac_must_keep_next=false # Got value, back to normal. 1579566738d7Smrg else 1580566738d7Smrg case $ac_arg in 1581566738d7Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 1582566738d7Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1583566738d7Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1584566738d7Smrg | -with-* | --with-* | -without-* | --without-* | --x) 1585566738d7Smrg case "$ac_configure_args0 " in 1586566738d7Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1587566738d7Smrg esac 1588566738d7Smrg ;; 1589566738d7Smrg -* ) ac_must_keep_next=true ;; 1590566738d7Smrg esac 1591566738d7Smrg fi 159250718ea6Smrg ac_configure_args="$ac_configure_args '$ac_arg'" 1593566738d7Smrg ;; 1594566738d7Smrg esac 1595566738d7Smrg done 1596566738d7Smrgdone 1597566738d7Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1598566738d7Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1599566738d7Smrg 1600566738d7Smrg# When interrupted or exit'd, cleanup temporary files, and complete 1601566738d7Smrg# config.log. We remove comments because anyway the quotes in there 1602566738d7Smrg# would cause problems or look ugly. 160350718ea6Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 160450718ea6Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1605566738d7Smrgtrap 'exit_status=$? 1606566738d7Smrg # Save into config.log some information that might help in debugging. 1607566738d7Smrg { 1608566738d7Smrg echo 1609566738d7Smrg 1610566738d7Smrg cat <<\_ASBOX 1611566738d7Smrg## ---------------- ## 1612566738d7Smrg## Cache variables. ## 1613566738d7Smrg## ---------------- ## 1614566738d7Smrg_ASBOX 1615566738d7Smrg echo 1616566738d7Smrg # The following way of writing the cache mishandles newlines in values, 161750718ea6Smrg( 161850718ea6Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 161950718ea6Smrg eval ac_val=\$$ac_var 162050718ea6Smrg case $ac_val in #( 162150718ea6Smrg *${as_nl}*) 162250718ea6Smrg case $ac_var in #( 162350718ea6Smrg *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 162450718ea6Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 162550718ea6Smrg esac 162650718ea6Smrg case $ac_var in #( 162750718ea6Smrg _ | IFS | as_nl) ;; #( 162850718ea6Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 162950718ea6Smrg *) $as_unset $ac_var ;; 163050718ea6Smrg esac ;; 163150718ea6Smrg esac 163250718ea6Smrg done 1633566738d7Smrg (set) 2>&1 | 163450718ea6Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 163550718ea6Smrg *${as_nl}ac_space=\ *) 1636566738d7Smrg sed -n \ 163750718ea6Smrg "s/'\''/'\''\\\\'\'''\''/g; 163850718ea6Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 163950718ea6Smrg ;; #( 1640566738d7Smrg *) 164150718ea6Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1642566738d7Smrg ;; 164350718ea6Smrg esac | 164450718ea6Smrg sort 164550718ea6Smrg) 1646566738d7Smrg echo 1647566738d7Smrg 1648566738d7Smrg cat <<\_ASBOX 1649566738d7Smrg## ----------------- ## 1650566738d7Smrg## Output variables. ## 1651566738d7Smrg## ----------------- ## 1652566738d7Smrg_ASBOX 1653566738d7Smrg echo 1654566738d7Smrg for ac_var in $ac_subst_vars 1655566738d7Smrg do 165650718ea6Smrg eval ac_val=\$$ac_var 165750718ea6Smrg case $ac_val in 165850718ea6Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 165950718ea6Smrg esac 166050718ea6Smrg $as_echo "$ac_var='\''$ac_val'\''" 1661566738d7Smrg done | sort 1662566738d7Smrg echo 1663566738d7Smrg 1664566738d7Smrg if test -n "$ac_subst_files"; then 1665566738d7Smrg cat <<\_ASBOX 166650718ea6Smrg## ------------------- ## 166750718ea6Smrg## File substitutions. ## 166850718ea6Smrg## ------------------- ## 1669566738d7Smrg_ASBOX 1670566738d7Smrg echo 1671566738d7Smrg for ac_var in $ac_subst_files 1672566738d7Smrg do 167350718ea6Smrg eval ac_val=\$$ac_var 167450718ea6Smrg case $ac_val in 167550718ea6Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 167650718ea6Smrg esac 167750718ea6Smrg $as_echo "$ac_var='\''$ac_val'\''" 1678566738d7Smrg done | sort 1679566738d7Smrg echo 1680566738d7Smrg fi 1681566738d7Smrg 1682566738d7Smrg if test -s confdefs.h; then 1683566738d7Smrg cat <<\_ASBOX 1684566738d7Smrg## ----------- ## 1685566738d7Smrg## confdefs.h. ## 1686566738d7Smrg## ----------- ## 1687566738d7Smrg_ASBOX 1688566738d7Smrg echo 168950718ea6Smrg cat confdefs.h 1690566738d7Smrg echo 1691566738d7Smrg fi 1692566738d7Smrg test "$ac_signal" != 0 && 169350718ea6Smrg $as_echo "$as_me: caught signal $ac_signal" 169450718ea6Smrg $as_echo "$as_me: exit $exit_status" 1695566738d7Smrg } >&5 169650718ea6Smrg rm -f core *.core core.conftest.* && 169750718ea6Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1698566738d7Smrg exit $exit_status 169950718ea6Smrg' 0 1700566738d7Smrgfor ac_signal in 1 2 13 15; do 1701566738d7Smrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1702566738d7Smrgdone 1703566738d7Smrgac_signal=0 1704566738d7Smrg 1705566738d7Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 170650718ea6Smrgrm -f -r conftest* confdefs.h 1707566738d7Smrg 1708566738d7Smrg# Predefined preprocessor variables. 1709566738d7Smrg 1710566738d7Smrgcat >>confdefs.h <<_ACEOF 1711566738d7Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 1712566738d7Smrg_ACEOF 1713566738d7Smrg 1714566738d7Smrg 1715566738d7Smrgcat >>confdefs.h <<_ACEOF 1716566738d7Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1717566738d7Smrg_ACEOF 1718566738d7Smrg 1719566738d7Smrg 1720566738d7Smrgcat >>confdefs.h <<_ACEOF 1721566738d7Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 1722566738d7Smrg_ACEOF 1723566738d7Smrg 1724566738d7Smrg 1725566738d7Smrgcat >>confdefs.h <<_ACEOF 1726566738d7Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 1727566738d7Smrg_ACEOF 1728566738d7Smrg 1729566738d7Smrg 1730566738d7Smrgcat >>confdefs.h <<_ACEOF 1731566738d7Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1732566738d7Smrg_ACEOF 1733566738d7Smrg 1734566738d7Smrg 1735566738d7Smrg# Let the site file select an alternate cache file if it wants to. 173650718ea6Smrg# Prefer an explicitly selected file to automatically selected ones. 173750718ea6Smrgac_site_file1=NONE 173850718ea6Smrgac_site_file2=NONE 173950718ea6Smrgif test -n "$CONFIG_SITE"; then 174050718ea6Smrg ac_site_file1=$CONFIG_SITE 174150718ea6Smrgelif test "x$prefix" != xNONE; then 174250718ea6Smrg ac_site_file1=$prefix/share/config.site 174350718ea6Smrg ac_site_file2=$prefix/etc/config.site 174450718ea6Smrgelse 174550718ea6Smrg ac_site_file1=$ac_default_prefix/share/config.site 174650718ea6Smrg ac_site_file2=$ac_default_prefix/etc/config.site 1747566738d7Smrgfi 174850718ea6Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 174950718ea6Smrgdo 175050718ea6Smrg test "x$ac_site_file" = xNONE && continue 1751566738d7Smrg if test -r "$ac_site_file"; then 175250718ea6Smrg { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 175350718ea6Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1754566738d7Smrg sed 's/^/| /' "$ac_site_file" >&5 1755566738d7Smrg . "$ac_site_file" 1756566738d7Smrg fi 1757566738d7Smrgdone 1758566738d7Smrg 1759566738d7Smrgif test -r "$cache_file"; then 1760566738d7Smrg # Some versions of bash will fail to source /dev/null (special 1761566738d7Smrg # files actually), so we avoid doing that. 1762566738d7Smrg if test -f "$cache_file"; then 176350718ea6Smrg { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 176450718ea6Smrg$as_echo "$as_me: loading cache $cache_file" >&6;} 1765566738d7Smrg case $cache_file in 176650718ea6Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 176750718ea6Smrg *) . "./$cache_file";; 1768566738d7Smrg esac 1769566738d7Smrg fi 1770566738d7Smrgelse 177150718ea6Smrg { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 177250718ea6Smrg$as_echo "$as_me: creating cache $cache_file" >&6;} 1773566738d7Smrg >$cache_file 1774566738d7Smrgfi 1775566738d7Smrg 1776566738d7Smrg# Check that the precious variables saved in the cache have kept the same 1777566738d7Smrg# value. 1778566738d7Smrgac_cache_corrupted=false 177950718ea6Smrgfor ac_var in $ac_precious_vars; do 1780566738d7Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 1781566738d7Smrg eval ac_new_set=\$ac_env_${ac_var}_set 178250718ea6Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 178350718ea6Smrg eval ac_new_val=\$ac_env_${ac_var}_value 1784566738d7Smrg case $ac_old_set,$ac_new_set in 1785566738d7Smrg set,) 178650718ea6Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 178750718ea6Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1788566738d7Smrg ac_cache_corrupted=: ;; 1789566738d7Smrg ,set) 179050718ea6Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 179150718ea6Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1792566738d7Smrg ac_cache_corrupted=: ;; 1793566738d7Smrg ,);; 1794566738d7Smrg *) 1795566738d7Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 179650718ea6Smrg # differences in whitespace do not lead to failure. 179750718ea6Smrg ac_old_val_w=`echo x $ac_old_val` 179850718ea6Smrg ac_new_val_w=`echo x $ac_new_val` 179950718ea6Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 180050718ea6Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 180150718ea6Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 180250718ea6Smrg ac_cache_corrupted=: 180350718ea6Smrg else 180450718ea6Smrg { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 180550718ea6Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 180650718ea6Smrg eval $ac_var=\$ac_old_val 180750718ea6Smrg fi 180850718ea6Smrg { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 180950718ea6Smrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 181050718ea6Smrg { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 181150718ea6Smrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1812566738d7Smrg fi;; 1813566738d7Smrg esac 1814566738d7Smrg # Pass precious variables to config.status. 1815566738d7Smrg if test "$ac_new_set" = set; then 1816566738d7Smrg case $ac_new_val in 181750718ea6Smrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1818566738d7Smrg *) ac_arg=$ac_var=$ac_new_val ;; 1819566738d7Smrg esac 1820566738d7Smrg case " $ac_configure_args " in 1821566738d7Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1822566738d7Smrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1823566738d7Smrg esac 1824566738d7Smrg fi 1825566738d7Smrgdone 1826566738d7Smrgif $ac_cache_corrupted; then 182750718ea6Smrg { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 182850718ea6Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 182950718ea6Smrg { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 183050718ea6Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 183150718ea6Smrg { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 183250718ea6Smrg$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1833566738d7Smrg { (exit 1); exit 1; }; } 1834566738d7Smrgfi 1835566738d7Smrg 1836566738d7Smrg 1837566738d7Smrg 1838566738d7Smrg 1839566738d7Smrg 1840566738d7Smrg 1841566738d7Smrg 1842566738d7Smrg 1843566738d7Smrg 1844566738d7Smrg 1845566738d7Smrg 1846566738d7Smrg 1847566738d7Smrg 1848566738d7Smrg 1849566738d7Smrg 1850566738d7Smrg 1851566738d7Smrg 1852566738d7Smrg 1853566738d7Smrg 1854566738d7Smrg 1855566738d7Smrg 1856566738d7Smrg 1857566738d7Smrg 1858566738d7Smrg 1859566738d7Smrg 186050718ea6Smrgac_ext=c 186150718ea6Smrgac_cpp='$CPP $CPPFLAGS' 186250718ea6Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 186350718ea6Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 186450718ea6Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 1865566738d7Smrg 1866566738d7Smrg 186750718ea6Smrgam__api_version='1.11' 1868566738d7Smrg 1869566738d7Smrgac_aux_dir= 187050718ea6Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 187150718ea6Smrg if test -f "$ac_dir/install-sh"; then 1872566738d7Smrg ac_aux_dir=$ac_dir 1873566738d7Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 1874566738d7Smrg break 187550718ea6Smrg elif test -f "$ac_dir/install.sh"; then 1876566738d7Smrg ac_aux_dir=$ac_dir 1877566738d7Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 1878566738d7Smrg break 187950718ea6Smrg elif test -f "$ac_dir/shtool"; then 1880566738d7Smrg ac_aux_dir=$ac_dir 1881566738d7Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 1882566738d7Smrg break 1883566738d7Smrg fi 1884566738d7Smrgdone 1885566738d7Smrgif test -z "$ac_aux_dir"; then 188650718ea6Smrg { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 188750718ea6Smrg$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1888566738d7Smrg { (exit 1); exit 1; }; } 1889566738d7Smrgfi 189050718ea6Smrg 189150718ea6Smrg# These three variables are undocumented and unsupported, 189250718ea6Smrg# and are intended to be withdrawn in a future Autoconf release. 189350718ea6Smrg# They can cause serious problems if a builder's source tree is in a directory 189450718ea6Smrg# whose full name contains unusual characters. 189550718ea6Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 189650718ea6Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 189750718ea6Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 189850718ea6Smrg 1899566738d7Smrg 1900566738d7Smrg# Find a good install program. We prefer a C program (faster), 1901566738d7Smrg# so one script is as good as another. But avoid the broken or 1902566738d7Smrg# incompatible versions: 1903566738d7Smrg# SysV /etc/install, /usr/sbin/install 1904566738d7Smrg# SunOS /usr/etc/install 1905566738d7Smrg# IRIX /sbin/install 1906566738d7Smrg# AIX /bin/install 1907566738d7Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 1908566738d7Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1909566738d7Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1910566738d7Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1911566738d7Smrg# OS/2's system install, which has a completely different semantic 1912566738d7Smrg# ./install, which can be erroneously created by make from ./install.sh. 191350718ea6Smrg# Reject install programs that cannot install multiple files. 191450718ea6Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 191550718ea6Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 1916566738d7Smrgif test -z "$INSTALL"; then 1917566738d7Smrgif test "${ac_cv_path_install+set}" = set; then 191850718ea6Smrg $as_echo_n "(cached) " >&6 1919566738d7Smrgelse 1920566738d7Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1921566738d7Smrgfor as_dir in $PATH 1922566738d7Smrgdo 1923566738d7Smrg IFS=$as_save_IFS 1924566738d7Smrg test -z "$as_dir" && as_dir=. 1925566738d7Smrg # Account for people who put trailing slashes in PATH elements. 1926566738d7Smrgcase $as_dir/ in 1927566738d7Smrg ./ | .// | /cC/* | \ 1928566738d7Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1929566738d7Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1930566738d7Smrg /usr/ucb/* ) ;; 1931566738d7Smrg *) 1932566738d7Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 1933566738d7Smrg # Don't use installbsd from OSF since it installs stuff as root 1934566738d7Smrg # by default. 1935566738d7Smrg for ac_prog in ginstall scoinst install; do 1936566738d7Smrg for ac_exec_ext in '' $ac_executable_extensions; do 193750718ea6Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1938566738d7Smrg if test $ac_prog = install && 1939566738d7Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1940566738d7Smrg # AIX install. It has an incompatible calling convention. 1941566738d7Smrg : 1942566738d7Smrg elif test $ac_prog = install && 1943566738d7Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1944566738d7Smrg # program-specific install script used by HP pwplus--don't use. 1945566738d7Smrg : 1946566738d7Smrg else 194750718ea6Smrg rm -rf conftest.one conftest.two conftest.dir 194850718ea6Smrg echo one > conftest.one 194950718ea6Smrg echo two > conftest.two 195050718ea6Smrg mkdir conftest.dir 195150718ea6Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 195250718ea6Smrg test -s conftest.one && test -s conftest.two && 195350718ea6Smrg test -s conftest.dir/conftest.one && 195450718ea6Smrg test -s conftest.dir/conftest.two 195550718ea6Smrg then 195650718ea6Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 195750718ea6Smrg break 3 195850718ea6Smrg fi 1959566738d7Smrg fi 1960566738d7Smrg fi 1961566738d7Smrg done 1962566738d7Smrg done 1963566738d7Smrg ;; 1964566738d7Smrgesac 196550718ea6Smrg 1966566738d7Smrgdone 196750718ea6SmrgIFS=$as_save_IFS 1968566738d7Smrg 196950718ea6Smrgrm -rf conftest.one conftest.two conftest.dir 1970566738d7Smrg 1971566738d7Smrgfi 1972566738d7Smrg if test "${ac_cv_path_install+set}" = set; then 1973566738d7Smrg INSTALL=$ac_cv_path_install 1974566738d7Smrg else 197550718ea6Smrg # As a last resort, use the slow shell script. Don't cache a 197650718ea6Smrg # value for INSTALL within a source directory, because that will 1977566738d7Smrg # break other packages using the cache if that directory is 197850718ea6Smrg # removed, or if the value is a relative name. 1979566738d7Smrg INSTALL=$ac_install_sh 1980566738d7Smrg fi 1981566738d7Smrgfi 198250718ea6Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 198350718ea6Smrg$as_echo "$INSTALL" >&6; } 1984566738d7Smrg 1985566738d7Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1986566738d7Smrg# It thinks the first close brace ends the variable substitution. 1987566738d7Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1988566738d7Smrg 1989566738d7Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1990566738d7Smrg 1991566738d7Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1992566738d7Smrg 199350718ea6Smrg{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 199450718ea6Smrg$as_echo_n "checking whether build environment is sane... " >&6; } 1995566738d7Smrg# Just in case 1996566738d7Smrgsleep 1 1997566738d7Smrgecho timestamp > conftest.file 199850718ea6Smrg# Reject unsafe characters in $srcdir or the absolute working directory 199950718ea6Smrg# name. Accept space and tab only in the latter. 200050718ea6Smrgam_lf=' 200150718ea6Smrg' 200250718ea6Smrgcase `pwd` in 200350718ea6Smrg *[\\\"\#\$\&\'\`$am_lf]*) 200450718ea6Smrg { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 200550718ea6Smrg$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} 200650718ea6Smrg { (exit 1); exit 1; }; };; 200750718ea6Smrgesac 200850718ea6Smrgcase $srcdir in 200950718ea6Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 201050718ea6Smrg { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 201150718ea6Smrg$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} 201250718ea6Smrg { (exit 1); exit 1; }; };; 201350718ea6Smrgesac 201450718ea6Smrg 2015566738d7Smrg# Do `set' in a subshell so we don't clobber the current shell's 2016566738d7Smrg# arguments. Must try -L first in case configure is actually a 2017566738d7Smrg# symlink; some systems play weird games with the mod time of symlinks 2018566738d7Smrg# (eg FreeBSD returns the mod time of the symlink's containing 2019566738d7Smrg# directory). 2020566738d7Smrgif ( 202150718ea6Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2022566738d7Smrg if test "$*" = "X"; then 2023566738d7Smrg # -L didn't work. 202450718ea6Smrg set X `ls -t "$srcdir/configure" conftest.file` 2025566738d7Smrg fi 2026566738d7Smrg rm -f conftest.file 2027566738d7Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 2028566738d7Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 2029566738d7Smrg 2030566738d7Smrg # If neither matched, then we have a broken ls. This can happen 2031566738d7Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 2032566738d7Smrg # broken ls alias from the environment. This has actually 2033566738d7Smrg # happened. Such a system could not be considered "sane". 203450718ea6Smrg { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2035566738d7Smrgalias in your environment" >&5 203650718ea6Smrg$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2037566738d7Smrgalias in your environment" >&2;} 2038566738d7Smrg { (exit 1); exit 1; }; } 2039566738d7Smrg fi 2040566738d7Smrg 2041566738d7Smrg test "$2" = conftest.file 2042566738d7Smrg ) 2043566738d7Smrgthen 2044566738d7Smrg # Ok. 2045566738d7Smrg : 2046566738d7Smrgelse 204750718ea6Smrg { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2048566738d7SmrgCheck your system clock" >&5 204950718ea6Smrg$as_echo "$as_me: error: newly created file is older than distributed files! 2050566738d7SmrgCheck your system clock" >&2;} 2051566738d7Smrg { (exit 1); exit 1; }; } 2052566738d7Smrgfi 205350718ea6Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5 205450718ea6Smrg$as_echo "yes" >&6; } 2055566738d7Smrgtest "$program_prefix" != NONE && 205650718ea6Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 2057566738d7Smrg# Use a double $ so make ignores it. 2058566738d7Smrgtest "$program_suffix" != NONE && 205950718ea6Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 206050718ea6Smrg# Double any \ or $. 2061566738d7Smrg# By default was `s,x,x', remove it if useless. 206250718ea6Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 206350718ea6Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2064566738d7Smrg 2065566738d7Smrg# expand $ac_aux_dir to an absolute path 2066566738d7Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 2067566738d7Smrg 206850718ea6Smrgif test x"${MISSING+set}" != xset; then 206950718ea6Smrg case $am_aux_dir in 207050718ea6Smrg *\ * | *\ *) 207150718ea6Smrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 207250718ea6Smrg *) 207350718ea6Smrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 207450718ea6Smrg esac 207550718ea6Smrgfi 2076566738d7Smrg# Use eval to expand $SHELL 2077566738d7Smrgif eval "$MISSING --run true"; then 2078566738d7Smrg am_missing_run="$MISSING --run " 2079566738d7Smrgelse 2080566738d7Smrg am_missing_run= 208150718ea6Smrg { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 208250718ea6Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 208350718ea6Smrgfi 208450718ea6Smrg 208550718ea6Smrgif test x"${install_sh}" != xset; then 208650718ea6Smrg case $am_aux_dir in 208750718ea6Smrg *\ * | *\ *) 208850718ea6Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 208950718ea6Smrg *) 209050718ea6Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 209150718ea6Smrg esac 209250718ea6Smrgfi 209350718ea6Smrg 209450718ea6Smrg# Installed binaries are usually stripped using `strip' when the user 209550718ea6Smrg# run `make install-strip'. However `strip' might not be the right 209650718ea6Smrg# tool to use in cross-compilation environments, therefore Automake 209750718ea6Smrg# will honor the `STRIP' environment variable to overrule this program. 209850718ea6Smrgif test "$cross_compiling" != no; then 209950718ea6Smrg if test -n "$ac_tool_prefix"; then 210050718ea6Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 210150718ea6Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 210250718ea6Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 210350718ea6Smrg$as_echo_n "checking for $ac_word... " >&6; } 210450718ea6Smrgif test "${ac_cv_prog_STRIP+set}" = set; then 210550718ea6Smrg $as_echo_n "(cached) " >&6 210650718ea6Smrgelse 210750718ea6Smrg if test -n "$STRIP"; then 210850718ea6Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 210950718ea6Smrgelse 211050718ea6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211150718ea6Smrgfor as_dir in $PATH 211250718ea6Smrgdo 211350718ea6Smrg IFS=$as_save_IFS 211450718ea6Smrg test -z "$as_dir" && as_dir=. 211550718ea6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 211650718ea6Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 211750718ea6Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 211850718ea6Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 211950718ea6Smrg break 2 212050718ea6Smrg fi 212150718ea6Smrgdone 212250718ea6Smrgdone 212350718ea6SmrgIFS=$as_save_IFS 212450718ea6Smrg 212550718ea6Smrgfi 212650718ea6Smrgfi 212750718ea6SmrgSTRIP=$ac_cv_prog_STRIP 212850718ea6Smrgif test -n "$STRIP"; then 212950718ea6Smrg { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 213050718ea6Smrg$as_echo "$STRIP" >&6; } 213150718ea6Smrgelse 213250718ea6Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 213350718ea6Smrg$as_echo "no" >&6; } 213450718ea6Smrgfi 213550718ea6Smrg 213650718ea6Smrg 213750718ea6Smrgfi 213850718ea6Smrgif test -z "$ac_cv_prog_STRIP"; then 213950718ea6Smrg ac_ct_STRIP=$STRIP 214050718ea6Smrg # Extract the first word of "strip", so it can be a program name with args. 214150718ea6Smrgset dummy strip; ac_word=$2 214250718ea6Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 214350718ea6Smrg$as_echo_n "checking for $ac_word... " >&6; } 214450718ea6Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 214550718ea6Smrg $as_echo_n "(cached) " >&6 214650718ea6Smrgelse 214750718ea6Smrg if test -n "$ac_ct_STRIP"; then 214850718ea6Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 214950718ea6Smrgelse 215050718ea6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 215150718ea6Smrgfor as_dir in $PATH 215250718ea6Smrgdo 215350718ea6Smrg IFS=$as_save_IFS 215450718ea6Smrg test -z "$as_dir" && as_dir=. 215550718ea6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 215650718ea6Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 215750718ea6Smrg ac_cv_prog_ac_ct_STRIP="strip" 215850718ea6Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 215950718ea6Smrg break 2 216050718ea6Smrg fi 216150718ea6Smrgdone 216250718ea6Smrgdone 216350718ea6SmrgIFS=$as_save_IFS 216450718ea6Smrg 216550718ea6Smrgfi 2166566738d7Smrgfi 216750718ea6Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 216850718ea6Smrgif test -n "$ac_ct_STRIP"; then 216950718ea6Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 217050718ea6Smrg$as_echo "$ac_ct_STRIP" >&6; } 217150718ea6Smrgelse 217250718ea6Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 217350718ea6Smrg$as_echo "no" >&6; } 217450718ea6Smrgfi 217550718ea6Smrg 217650718ea6Smrg if test "x$ac_ct_STRIP" = x; then 217750718ea6Smrg STRIP=":" 217850718ea6Smrg else 217950718ea6Smrg case $cross_compiling:$ac_tool_warned in 218050718ea6Smrgyes:) 218150718ea6Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 218250718ea6Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 218350718ea6Smrgac_tool_warned=yes ;; 218450718ea6Smrgesac 218550718ea6Smrg STRIP=$ac_ct_STRIP 218650718ea6Smrg fi 218750718ea6Smrgelse 218850718ea6Smrg STRIP="$ac_cv_prog_STRIP" 218950718ea6Smrgfi 219050718ea6Smrg 219150718ea6Smrgfi 219250718ea6SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 219350718ea6Smrg 219450718ea6Smrg{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 219550718ea6Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 219650718ea6Smrgif test -z "$MKDIR_P"; then 219750718ea6Smrg if test "${ac_cv_path_mkdir+set}" = set; then 219850718ea6Smrg $as_echo_n "(cached) " >&6 219950718ea6Smrgelse 220050718ea6Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 220150718ea6Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 220250718ea6Smrgdo 220350718ea6Smrg IFS=$as_save_IFS 220450718ea6Smrg test -z "$as_dir" && as_dir=. 220550718ea6Smrg for ac_prog in mkdir gmkdir; do 220650718ea6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 220750718ea6Smrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 220850718ea6Smrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 220950718ea6Smrg 'mkdir (GNU coreutils) '* | \ 221050718ea6Smrg 'mkdir (coreutils) '* | \ 221150718ea6Smrg 'mkdir (fileutils) '4.1*) 221250718ea6Smrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 221350718ea6Smrg break 3;; 221450718ea6Smrg esac 221550718ea6Smrg done 221650718ea6Smrg done 221750718ea6Smrgdone 221850718ea6SmrgIFS=$as_save_IFS 221950718ea6Smrg 222050718ea6Smrgfi 222150718ea6Smrg 222250718ea6Smrg if test "${ac_cv_path_mkdir+set}" = set; then 222350718ea6Smrg MKDIR_P="$ac_cv_path_mkdir -p" 222450718ea6Smrg else 222550718ea6Smrg # As a last resort, use the slow shell script. Don't cache a 222650718ea6Smrg # value for MKDIR_P within a source directory, because that will 222750718ea6Smrg # break other packages using the cache if that directory is 222850718ea6Smrg # removed, or if the value is a relative name. 222950718ea6Smrg test -d ./--version && rmdir ./--version 223050718ea6Smrg MKDIR_P="$ac_install_sh -d" 223150718ea6Smrg fi 223250718ea6Smrgfi 223350718ea6Smrg{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 223450718ea6Smrg$as_echo "$MKDIR_P" >&6; } 223550718ea6Smrg 223650718ea6Smrgmkdir_p="$MKDIR_P" 223750718ea6Smrgcase $mkdir_p in 223850718ea6Smrg [\\/$]* | ?:[\\/]*) ;; 223950718ea6Smrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 224050718ea6Smrgesac 2241566738d7Smrg 2242566738d7Smrgfor ac_prog in gawk mawk nawk awk 2243566738d7Smrgdo 2244566738d7Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2245566738d7Smrgset dummy $ac_prog; ac_word=$2 224650718ea6Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 224750718ea6Smrg$as_echo_n "checking for $ac_word... " >&6; } 2248566738d7Smrgif test "${ac_cv_prog_AWK+set}" = set; then 224950718ea6Smrg $as_echo_n "(cached) " >&6 2250566738d7Smrgelse 2251566738d7Smrg if test -n "$AWK"; then 2252566738d7Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 2253566738d7Smrgelse 2254566738d7Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2255566738d7Smrgfor as_dir in $PATH 2256566738d7Smrgdo 2257566738d7Smrg IFS=$as_save_IFS 2258566738d7Smrg test -z "$as_dir" && as_dir=. 2259566738d7Smrg for ac_exec_ext in '' $ac_executable_extensions; do 226050718ea6Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2261566738d7Smrg ac_cv_prog_AWK="$ac_prog" 226250718ea6Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2263566738d7Smrg break 2 2264566738d7Smrg fi 2265566738d7Smrgdone 2266566738d7Smrgdone 226750718ea6SmrgIFS=$as_save_IFS 2268566738d7Smrg 2269566738d7Smrgfi 2270566738d7Smrgfi 2271566738d7SmrgAWK=$ac_cv_prog_AWK 2272566738d7Smrgif test -n "$AWK"; then 227350718ea6Smrg { $as_echo "$as_me:$LINENO: result: $AWK" >&5 227450718ea6Smrg$as_echo "$AWK" >&6; } 2275566738d7Smrgelse 227650718ea6Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 227750718ea6Smrg$as_echo "no" >&6; } 2278566738d7Smrgfi 2279566738d7Smrg 228050718ea6Smrg 2281566738d7Smrg test -n "$AWK" && break 2282566738d7Smrgdone 2283566738d7Smrg 228450718ea6Smrg{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 228550718ea6Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 228650718ea6Smrgset x ${MAKE-make} 228750718ea6Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 228850718ea6Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 228950718ea6Smrg $as_echo_n "(cached) " >&6 2290566738d7Smrgelse 2291566738d7Smrg cat >conftest.make <<\_ACEOF 229250718ea6SmrgSHELL = /bin/sh 2293566738d7Smrgall: 229450718ea6Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 2295566738d7Smrg_ACEOF 2296566738d7Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 229750718ea6Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 229850718ea6Smrg *@@@%%%=?*=@@@%%%*) 229950718ea6Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 230050718ea6Smrg *) 230150718ea6Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 230250718ea6Smrgesac 2303566738d7Smrgrm -f conftest.make 2304566738d7Smrgfi 230550718ea6Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 230650718ea6Smrg { $as_echo "$as_me:$LINENO: result: yes" >&5 230750718ea6Smrg$as_echo "yes" >&6; } 2308566738d7Smrg SET_MAKE= 2309566738d7Smrgelse 231050718ea6Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 231150718ea6Smrg$as_echo "no" >&6; } 2312566738d7Smrg SET_MAKE="MAKE=${MAKE-make}" 2313566738d7Smrgfi 2314566738d7Smrg 2315566738d7Smrgrm -rf .tst 2>/dev/null 2316566738d7Smrgmkdir .tst 2>/dev/null 2317566738d7Smrgif test -d .tst; then 2318566738d7Smrg am__leading_dot=. 2319566738d7Smrgelse 2320566738d7Smrg am__leading_dot=_ 2321566738d7Smrgfi 2322566738d7Smrgrmdir .tst 2>/dev/null 2323566738d7Smrg 232450718ea6Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 232550718ea6Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 232650718ea6Smrg # is not polluted with repeated "-I." 232750718ea6Smrg am__isrc=' -I$(srcdir)' 232850718ea6Smrg # test to see if srcdir already configured 232950718ea6Smrg if test -f $srcdir/config.status; then 233050718ea6Smrg { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 233150718ea6Smrg$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2332566738d7Smrg { (exit 1); exit 1; }; } 233350718ea6Smrg fi 2334566738d7Smrgfi 2335566738d7Smrg 2336566738d7Smrg# test whether we have cygpath 2337566738d7Smrgif test -z "$CYGPATH_W"; then 2338566738d7Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 2339566738d7Smrg CYGPATH_W='cygpath -w' 2340566738d7Smrg else 2341566738d7Smrg CYGPATH_W=echo 2342566738d7Smrg fi 2343566738d7Smrgfi 2344566738d7Smrg 2345566738d7Smrg 2346566738d7Smrg# Define the identity of the package. 2347566738d7Smrg PACKAGE='xproxymanagementprotocol' 234850718ea6Smrg VERSION='1.0.3' 2349566738d7Smrg 2350566738d7Smrg 2351566738d7Smrgcat >>confdefs.h <<_ACEOF 2352566738d7Smrg#define PACKAGE "$PACKAGE" 2353566738d7Smrg_ACEOF 2354566738d7Smrg 2355566738d7Smrg 2356566738d7Smrgcat >>confdefs.h <<_ACEOF 2357566738d7Smrg#define VERSION "$VERSION" 2358566738d7Smrg_ACEOF 2359566738d7Smrg 2360566738d7Smrg# Some tools Automake needs. 2361566738d7Smrg 2362566738d7SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2363566738d7Smrg 2364566738d7Smrg 2365566738d7SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2366566738d7Smrg 2367566738d7Smrg 2368566738d7SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2369566738d7Smrg 2370566738d7Smrg 2371566738d7SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2372566738d7Smrg 2373566738d7Smrg 2374566738d7SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2375566738d7Smrg 237650718ea6Smrg# We need awk for the "check" target. The system "awk" is bad on 237750718ea6Smrg# some platforms. 237850718ea6Smrg# Always define AMTAR for backward compatibility. 2379566738d7Smrg 2380566738d7SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 2381566738d7Smrg 238250718ea6Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2383566738d7Smrg 238450718ea6Smrg 238550718ea6Smrg 238650718ea6Smrg 238750718ea6Smrg 238850718ea6Smrg 238950718ea6Smrg# Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS 239050718ea6Smrg 239150718ea6Smrg 239250718ea6Smrg 239350718ea6Smrg 239450718ea6Smrg 239550718ea6Smrg 239650718ea6Smrg 239750718ea6Smrg 239850718ea6Smrg 239950718ea6Smrg 240050718ea6Smrg 240150718ea6SmrgDEPDIR="${am__leading_dot}deps" 240250718ea6Smrg 240350718ea6Smrgac_config_commands="$ac_config_commands depfiles" 240450718ea6Smrg 240550718ea6Smrg 240650718ea6Smrgam_make=${MAKE-make} 240750718ea6Smrgcat > confinc << 'END' 240850718ea6Smrgam__doit: 240950718ea6Smrg @echo this is the am__doit target 241050718ea6Smrg.PHONY: am__doit 241150718ea6SmrgEND 241250718ea6Smrg# If we don't find an include directive, just comment out the code. 241350718ea6Smrg{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 241450718ea6Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 241550718ea6Smrgam__include="#" 241650718ea6Smrgam__quote= 241750718ea6Smrg_am_result=none 241850718ea6Smrg# First try GNU make style include. 241950718ea6Smrgecho "include confinc" > confmf 242050718ea6Smrg# Ignore all kinds of additional output from `make'. 242150718ea6Smrgcase `$am_make -s -f confmf 2> /dev/null` in #( 242250718ea6Smrg*the\ am__doit\ target*) 242350718ea6Smrg am__include=include 242450718ea6Smrg am__quote= 242550718ea6Smrg _am_result=GNU 242650718ea6Smrg ;; 242750718ea6Smrgesac 242850718ea6Smrg# Now try BSD make style include. 242950718ea6Smrgif test "$am__include" = "#"; then 243050718ea6Smrg echo '.include "confinc"' > confmf 243150718ea6Smrg case `$am_make -s -f confmf 2> /dev/null` in #( 243250718ea6Smrg *the\ am__doit\ target*) 243350718ea6Smrg am__include=.include 243450718ea6Smrg am__quote="\"" 243550718ea6Smrg _am_result=BSD 243650718ea6Smrg ;; 243750718ea6Smrg esac 243850718ea6Smrgfi 243950718ea6Smrg 244050718ea6Smrg 244150718ea6Smrg{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 244250718ea6Smrg$as_echo "$_am_result" >&6; } 244350718ea6Smrgrm -f confinc confmf 244450718ea6Smrg 244550718ea6Smrg# Check whether --enable-dependency-tracking was given. 244650718ea6Smrgif test "${enable_dependency_tracking+set}" = set; then 244750718ea6Smrg enableval=$enable_dependency_tracking; 244850718ea6Smrgfi 244950718ea6Smrg 245050718ea6Smrgif test "x$enable_dependency_tracking" != xno; then 245150718ea6Smrg am_depcomp="$ac_aux_dir/depcomp" 245250718ea6Smrg AMDEPBACKSLASH='\' 245350718ea6Smrgfi 245450718ea6Smrg if test "x$enable_dependency_tracking" != xno; then 245550718ea6Smrg AMDEP_TRUE= 245650718ea6Smrg AMDEP_FALSE='#' 2457566738d7Smrgelse 245850718ea6Smrg AMDEP_TRUE='#' 245950718ea6Smrg AMDEP_FALSE= 246050718ea6Smrgfi 246150718ea6Smrg 246250718ea6Smrg 246350718ea6Smrgac_ext=c 246450718ea6Smrgac_cpp='$CPP $CPPFLAGS' 246550718ea6Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 246650718ea6Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 246750718ea6Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 246850718ea6Smrgif test -n "$ac_tool_prefix"; then 246950718ea6Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 247050718ea6Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 247150718ea6Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 247250718ea6Smrg$as_echo_n "checking for $ac_word... " >&6; } 247350718ea6Smrgif test "${ac_cv_prog_CC+set}" = set; then 247450718ea6Smrg $as_echo_n "(cached) " >&6 247550718ea6Smrgelse 247650718ea6Smrg if test -n "$CC"; then 247750718ea6Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2478566738d7Smrgelse 2479566738d7Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2480566738d7Smrgfor as_dir in $PATH 2481566738d7Smrgdo 2482566738d7Smrg IFS=$as_save_IFS 2483566738d7Smrg test -z "$as_dir" && as_dir=. 2484566738d7Smrg for ac_exec_ext in '' $ac_executable_extensions; do 248550718ea6Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 248650718ea6Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 248750718ea6Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2488566738d7Smrg break 2 2489566738d7Smrg fi 2490566738d7Smrgdone 2491566738d7Smrgdone 249250718ea6SmrgIFS=$as_save_IFS 2493566738d7Smrg 2494566738d7Smrgfi 2495566738d7Smrgfi 249650718ea6SmrgCC=$ac_cv_prog_CC 249750718ea6Smrgif test -n "$CC"; then 249850718ea6Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 249950718ea6Smrg$as_echo "$CC" >&6; } 2500566738d7Smrgelse 250150718ea6Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 250250718ea6Smrg$as_echo "no" >&6; } 2503566738d7Smrgfi 2504566738d7Smrg 250550718ea6Smrg 2506566738d7Smrgfi 250750718ea6Smrgif test -z "$ac_cv_prog_CC"; then 250850718ea6Smrg ac_ct_CC=$CC 250950718ea6Smrg # Extract the first word of "gcc", so it can be a program name with args. 251050718ea6Smrgset dummy gcc; ac_word=$2 251150718ea6Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 251250718ea6Smrg$as_echo_n "checking for $ac_word... " >&6; } 251350718ea6Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 251450718ea6Smrg $as_echo_n "(cached) " >&6 2515566738d7Smrgelse 251650718ea6Smrg if test -n "$ac_ct_CC"; then 251750718ea6Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2518566738d7Smrgelse 2519566738d7Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2520566738d7Smrgfor as_dir in $PATH 2521566738d7Smrgdo 2522566738d7Smrg IFS=$as_save_IFS 2523566738d7Smrg test -z "$as_dir" && as_dir=. 2524566738d7Smrg for ac_exec_ext in '' $ac_executable_extensions; do 252550718ea6Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 252650718ea6Smrg ac_cv_prog_ac_ct_CC="gcc" 252750718ea6Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2528566738d7Smrg break 2 2529566738d7Smrg fi 2530566738d7Smrgdone 2531566738d7Smrgdone 253250718ea6SmrgIFS=$as_save_IFS 2533566738d7Smrg 2534566738d7Smrgfi 2535566738d7Smrgfi 253650718ea6Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 253750718ea6Smrgif test -n "$ac_ct_CC"; then 253850718ea6Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 253950718ea6Smrg$as_echo "$ac_ct_CC" >&6; } 2540566738d7Smrgelse 254150718ea6Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 254250718ea6Smrg$as_echo "no" >&6; } 2543566738d7Smrgfi 2544566738d7Smrg 254550718ea6Smrg if test "x$ac_ct_CC" = x; then 254650718ea6Smrg CC="" 254750718ea6Smrg else 254850718ea6Smrg case $cross_compiling:$ac_tool_warned in 254950718ea6Smrgyes:) 255050718ea6Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 255150718ea6Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 255250718ea6Smrgac_tool_warned=yes ;; 255350718ea6Smrgesac 255450718ea6Smrg CC=$ac_ct_CC 255550718ea6Smrg fi 2556566738d7Smrgelse 255750718ea6Smrg CC="$ac_cv_prog_CC" 2558566738d7Smrgfi 2559566738d7Smrg 256050718ea6Smrgif test -z "$CC"; then 256150718ea6Smrg if test -n "$ac_tool_prefix"; then 256250718ea6Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 256350718ea6Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 256450718ea6Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 256550718ea6Smrg$as_echo_n "checking for $ac_word... " >&6; } 256650718ea6Smrgif test "${ac_cv_prog_CC+set}" = set; then 256750718ea6Smrg $as_echo_n "(cached) " >&6 256850718ea6Smrgelse 256950718ea6Smrg if test -n "$CC"; then 257050718ea6Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 257150718ea6Smrgelse 257250718ea6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 257350718ea6Smrgfor as_dir in $PATH 257450718ea6Smrgdo 257550718ea6Smrg IFS=$as_save_IFS 257650718ea6Smrg test -z "$as_dir" && as_dir=. 257750718ea6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 257850718ea6Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 257950718ea6Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 258050718ea6Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 258150718ea6Smrg break 2 258250718ea6Smrg fi 258350718ea6Smrgdone 258450718ea6Smrgdone 258550718ea6SmrgIFS=$as_save_IFS 2586566738d7Smrg 258750718ea6Smrgfi 258850718ea6Smrgfi 258950718ea6SmrgCC=$ac_cv_prog_CC 259050718ea6Smrgif test -n "$CC"; then 259150718ea6Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 259250718ea6Smrg$as_echo "$CC" >&6; } 259350718ea6Smrgelse 259450718ea6Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 259550718ea6Smrg$as_echo "no" >&6; } 259650718ea6Smrgfi 2597566738d7Smrg 2598566738d7Smrg 259950718ea6Smrg fi 260050718ea6Smrgfi 260150718ea6Smrgif test -z "$CC"; then 260250718ea6Smrg # Extract the first word of "cc", so it can be a program name with args. 260350718ea6Smrgset dummy cc; ac_word=$2 260450718ea6Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 260550718ea6Smrg$as_echo_n "checking for $ac_word... " >&6; } 260650718ea6Smrgif test "${ac_cv_prog_CC+set}" = set; then 260750718ea6Smrg $as_echo_n "(cached) " >&6 260850718ea6Smrgelse 260950718ea6Smrg if test -n "$CC"; then 261050718ea6Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 261150718ea6Smrgelse 261250718ea6Smrg ac_prog_rejected=no 261350718ea6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 261450718ea6Smrgfor as_dir in $PATH 261550718ea6Smrgdo 261650718ea6Smrg IFS=$as_save_IFS 261750718ea6Smrg test -z "$as_dir" && as_dir=. 261850718ea6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 261950718ea6Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 262050718ea6Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 262150718ea6Smrg ac_prog_rejected=yes 262250718ea6Smrg continue 262350718ea6Smrg fi 262450718ea6Smrg ac_cv_prog_CC="cc" 262550718ea6Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 262650718ea6Smrg break 2 262750718ea6Smrg fi 262850718ea6Smrgdone 262950718ea6Smrgdone 263050718ea6SmrgIFS=$as_save_IFS 263150718ea6Smrg 263250718ea6Smrgif test $ac_prog_rejected = yes; then 263350718ea6Smrg # We found a bogon in the path, so make sure we never use it. 263450718ea6Smrg set dummy $ac_cv_prog_CC 263550718ea6Smrg shift 263650718ea6Smrg if test $# != 0; then 263750718ea6Smrg # We chose a different compiler from the bogus one. 263850718ea6Smrg # However, it has the same basename, so the bogon will be chosen 263950718ea6Smrg # first if we set CC to just the basename; use the full file name. 264050718ea6Smrg shift 264150718ea6Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 264250718ea6Smrg fi 264350718ea6Smrgfi 264450718ea6Smrgfi 264550718ea6Smrgfi 264650718ea6SmrgCC=$ac_cv_prog_CC 264750718ea6Smrgif test -n "$CC"; then 264850718ea6Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 264950718ea6Smrg$as_echo "$CC" >&6; } 265050718ea6Smrgelse 265150718ea6Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 265250718ea6Smrg$as_echo "no" >&6; } 265350718ea6Smrgfi 265450718ea6Smrg 265550718ea6Smrg 265650718ea6Smrgfi 265750718ea6Smrgif test -z "$CC"; then 265850718ea6Smrg if test -n "$ac_tool_prefix"; then 265950718ea6Smrg for ac_prog in cl.exe 266050718ea6Smrg do 266150718ea6Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 266250718ea6Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 266350718ea6Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 266450718ea6Smrg$as_echo_n "checking for $ac_word... " >&6; } 266550718ea6Smrgif test "${ac_cv_prog_CC+set}" = set; then 266650718ea6Smrg $as_echo_n "(cached) " >&6 266750718ea6Smrgelse 266850718ea6Smrg if test -n "$CC"; then 266950718ea6Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 267050718ea6Smrgelse 267150718ea6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 267250718ea6Smrgfor as_dir in $PATH 267350718ea6Smrgdo 267450718ea6Smrg IFS=$as_save_IFS 267550718ea6Smrg test -z "$as_dir" && as_dir=. 267650718ea6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 267750718ea6Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 267850718ea6Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 267950718ea6Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 268050718ea6Smrg break 2 268150718ea6Smrg fi 268250718ea6Smrgdone 268350718ea6Smrgdone 268450718ea6SmrgIFS=$as_save_IFS 268550718ea6Smrg 268650718ea6Smrgfi 268750718ea6Smrgfi 268850718ea6SmrgCC=$ac_cv_prog_CC 268950718ea6Smrgif test -n "$CC"; then 269050718ea6Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 269150718ea6Smrg$as_echo "$CC" >&6; } 269250718ea6Smrgelse 269350718ea6Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 269450718ea6Smrg$as_echo "no" >&6; } 269550718ea6Smrgfi 269650718ea6Smrg 269750718ea6Smrg 269850718ea6Smrg test -n "$CC" && break 269950718ea6Smrg done 270050718ea6Smrgfi 270150718ea6Smrgif test -z "$CC"; then 270250718ea6Smrg ac_ct_CC=$CC 270350718ea6Smrg for ac_prog in cl.exe 270450718ea6Smrgdo 270550718ea6Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 270650718ea6Smrgset dummy $ac_prog; ac_word=$2 270750718ea6Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 270850718ea6Smrg$as_echo_n "checking for $ac_word... " >&6; } 270950718ea6Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 271050718ea6Smrg $as_echo_n "(cached) " >&6 271150718ea6Smrgelse 271250718ea6Smrg if test -n "$ac_ct_CC"; then 271350718ea6Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 271450718ea6Smrgelse 271550718ea6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 271650718ea6Smrgfor as_dir in $PATH 271750718ea6Smrgdo 271850718ea6Smrg IFS=$as_save_IFS 271950718ea6Smrg test -z "$as_dir" && as_dir=. 272050718ea6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 272150718ea6Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 272250718ea6Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 272350718ea6Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 272450718ea6Smrg break 2 272550718ea6Smrg fi 272650718ea6Smrgdone 272750718ea6Smrgdone 272850718ea6SmrgIFS=$as_save_IFS 272950718ea6Smrg 273050718ea6Smrgfi 273150718ea6Smrgfi 273250718ea6Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 273350718ea6Smrgif test -n "$ac_ct_CC"; then 273450718ea6Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 273550718ea6Smrg$as_echo "$ac_ct_CC" >&6; } 273650718ea6Smrgelse 273750718ea6Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 273850718ea6Smrg$as_echo "no" >&6; } 273950718ea6Smrgfi 274050718ea6Smrg 274150718ea6Smrg 274250718ea6Smrg test -n "$ac_ct_CC" && break 274350718ea6Smrgdone 274450718ea6Smrg 274550718ea6Smrg if test "x$ac_ct_CC" = x; then 274650718ea6Smrg CC="" 274750718ea6Smrg else 274850718ea6Smrg case $cross_compiling:$ac_tool_warned in 274950718ea6Smrgyes:) 275050718ea6Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 275150718ea6Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 275250718ea6Smrgac_tool_warned=yes ;; 275350718ea6Smrgesac 275450718ea6Smrg CC=$ac_ct_CC 275550718ea6Smrg fi 275650718ea6Smrgfi 275750718ea6Smrg 275850718ea6Smrgfi 275950718ea6Smrg 276050718ea6Smrg 276150718ea6Smrgtest -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 276250718ea6Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 276350718ea6Smrg{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 276450718ea6SmrgSee \`config.log' for more details." >&5 276550718ea6Smrg$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 276650718ea6SmrgSee \`config.log' for more details." >&2;} 276750718ea6Smrg { (exit 1); exit 1; }; }; } 276850718ea6Smrg 276950718ea6Smrg# Provide some information about the compiler. 277050718ea6Smrg$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 277150718ea6Smrgset X $ac_compile 277250718ea6Smrgac_compiler=$2 277350718ea6Smrg{ (ac_try="$ac_compiler --version >&5" 277450718ea6Smrgcase "(($ac_try" in 277550718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 277650718ea6Smrg *) ac_try_echo=$ac_try;; 277750718ea6Smrgesac 277850718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 277950718ea6Smrg$as_echo "$ac_try_echo") >&5 278050718ea6Smrg (eval "$ac_compiler --version >&5") 2>&5 278150718ea6Smrg ac_status=$? 278250718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 278350718ea6Smrg (exit $ac_status); } 278450718ea6Smrg{ (ac_try="$ac_compiler -v >&5" 278550718ea6Smrgcase "(($ac_try" in 278650718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 278750718ea6Smrg *) ac_try_echo=$ac_try;; 278850718ea6Smrgesac 278950718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 279050718ea6Smrg$as_echo "$ac_try_echo") >&5 279150718ea6Smrg (eval "$ac_compiler -v >&5") 2>&5 279250718ea6Smrg ac_status=$? 279350718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 279450718ea6Smrg (exit $ac_status); } 279550718ea6Smrg{ (ac_try="$ac_compiler -V >&5" 279650718ea6Smrgcase "(($ac_try" in 279750718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 279850718ea6Smrg *) ac_try_echo=$ac_try;; 279950718ea6Smrgesac 280050718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 280150718ea6Smrg$as_echo "$ac_try_echo") >&5 280250718ea6Smrg (eval "$ac_compiler -V >&5") 2>&5 280350718ea6Smrg ac_status=$? 280450718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 280550718ea6Smrg (exit $ac_status); } 280650718ea6Smrg 280750718ea6Smrgcat >conftest.$ac_ext <<_ACEOF 280850718ea6Smrg/* confdefs.h. */ 280950718ea6Smrg_ACEOF 281050718ea6Smrgcat confdefs.h >>conftest.$ac_ext 281150718ea6Smrgcat >>conftest.$ac_ext <<_ACEOF 281250718ea6Smrg/* end confdefs.h. */ 281350718ea6Smrg 281450718ea6Smrgint 281550718ea6Smrgmain () 281650718ea6Smrg{ 281750718ea6Smrg 281850718ea6Smrg ; 281950718ea6Smrg return 0; 282050718ea6Smrg} 282150718ea6Smrg_ACEOF 282250718ea6Smrgac_clean_files_save=$ac_clean_files 282350718ea6Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 282450718ea6Smrg# Try to create an executable without -o first, disregard a.out. 282550718ea6Smrg# It will help us diagnose broken compilers, and finding out an intuition 282650718ea6Smrg# of exeext. 282750718ea6Smrg{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 282850718ea6Smrg$as_echo_n "checking for C compiler default output file name... " >&6; } 282950718ea6Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 283050718ea6Smrg 283150718ea6Smrg# The possible output files: 283250718ea6Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 283350718ea6Smrg 283450718ea6Smrgac_rmfiles= 283550718ea6Smrgfor ac_file in $ac_files 283650718ea6Smrgdo 283750718ea6Smrg case $ac_file in 283850718ea6Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 283950718ea6Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 284050718ea6Smrg esac 284150718ea6Smrgdone 284250718ea6Smrgrm -f $ac_rmfiles 284350718ea6Smrg 284450718ea6Smrgif { (ac_try="$ac_link_default" 284550718ea6Smrgcase "(($ac_try" in 284650718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 284750718ea6Smrg *) ac_try_echo=$ac_try;; 284850718ea6Smrgesac 284950718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 285050718ea6Smrg$as_echo "$ac_try_echo") >&5 285150718ea6Smrg (eval "$ac_link_default") 2>&5 285250718ea6Smrg ac_status=$? 285350718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 285450718ea6Smrg (exit $ac_status); }; then 285550718ea6Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 285650718ea6Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 285750718ea6Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 285850718ea6Smrg# so that the user can short-circuit this test for compilers unknown to 285950718ea6Smrg# Autoconf. 286050718ea6Smrgfor ac_file in $ac_files '' 286150718ea6Smrgdo 286250718ea6Smrg test -f "$ac_file" || continue 286350718ea6Smrg case $ac_file in 286450718ea6Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 286550718ea6Smrg ;; 286650718ea6Smrg [ab].out ) 286750718ea6Smrg # We found the default executable, but exeext='' is most 286850718ea6Smrg # certainly right. 286950718ea6Smrg break;; 287050718ea6Smrg *.* ) 287150718ea6Smrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 287250718ea6Smrg then :; else 287350718ea6Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 287450718ea6Smrg fi 287550718ea6Smrg # We set ac_cv_exeext here because the later test for it is not 287650718ea6Smrg # safe: cross compilers may not add the suffix if given an `-o' 287750718ea6Smrg # argument, so we may need to know it at that point already. 287850718ea6Smrg # Even if this section looks crufty: it has the advantage of 287950718ea6Smrg # actually working. 288050718ea6Smrg break;; 288150718ea6Smrg * ) 288250718ea6Smrg break;; 288350718ea6Smrg esac 288450718ea6Smrgdone 288550718ea6Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 288650718ea6Smrg 288750718ea6Smrgelse 288850718ea6Smrg ac_file='' 288950718ea6Smrgfi 289050718ea6Smrg 289150718ea6Smrg{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 289250718ea6Smrg$as_echo "$ac_file" >&6; } 289350718ea6Smrgif test -z "$ac_file"; then 289450718ea6Smrg $as_echo "$as_me: failed program was:" >&5 289550718ea6Smrgsed 's/^/| /' conftest.$ac_ext >&5 289650718ea6Smrg 289750718ea6Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 289850718ea6Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 289950718ea6Smrg{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 290050718ea6SmrgSee \`config.log' for more details." >&5 290150718ea6Smrg$as_echo "$as_me: error: C compiler cannot create executables 290250718ea6SmrgSee \`config.log' for more details." >&2;} 290350718ea6Smrg { (exit 77); exit 77; }; }; } 290450718ea6Smrgfi 290550718ea6Smrg 290650718ea6Smrgac_exeext=$ac_cv_exeext 290750718ea6Smrg 290850718ea6Smrg# Check that the compiler produces executables we can run. If not, either 290950718ea6Smrg# the compiler is broken, or we cross compile. 291050718ea6Smrg{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 291150718ea6Smrg$as_echo_n "checking whether the C compiler works... " >&6; } 291250718ea6Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 291350718ea6Smrg# If not cross compiling, check that we can run a simple program. 291450718ea6Smrgif test "$cross_compiling" != yes; then 291550718ea6Smrg if { ac_try='./$ac_file' 291650718ea6Smrg { (case "(($ac_try" in 291750718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 291850718ea6Smrg *) ac_try_echo=$ac_try;; 291950718ea6Smrgesac 292050718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 292150718ea6Smrg$as_echo "$ac_try_echo") >&5 292250718ea6Smrg (eval "$ac_try") 2>&5 292350718ea6Smrg ac_status=$? 292450718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 292550718ea6Smrg (exit $ac_status); }; }; then 292650718ea6Smrg cross_compiling=no 292750718ea6Smrg else 292850718ea6Smrg if test "$cross_compiling" = maybe; then 292950718ea6Smrg cross_compiling=yes 293050718ea6Smrg else 293150718ea6Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 293250718ea6Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 293350718ea6Smrg{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 293450718ea6SmrgIf you meant to cross compile, use \`--host'. 293550718ea6SmrgSee \`config.log' for more details." >&5 293650718ea6Smrg$as_echo "$as_me: error: cannot run C compiled programs. 293750718ea6SmrgIf you meant to cross compile, use \`--host'. 293850718ea6SmrgSee \`config.log' for more details." >&2;} 293950718ea6Smrg { (exit 1); exit 1; }; }; } 294050718ea6Smrg fi 294150718ea6Smrg fi 294250718ea6Smrgfi 294350718ea6Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5 294450718ea6Smrg$as_echo "yes" >&6; } 294550718ea6Smrg 294650718ea6Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 294750718ea6Smrgac_clean_files=$ac_clean_files_save 294850718ea6Smrg# Check that the compiler produces executables we can run. If not, either 294950718ea6Smrg# the compiler is broken, or we cross compile. 295050718ea6Smrg{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 295150718ea6Smrg$as_echo_n "checking whether we are cross compiling... " >&6; } 295250718ea6Smrg{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 295350718ea6Smrg$as_echo "$cross_compiling" >&6; } 295450718ea6Smrg 295550718ea6Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 295650718ea6Smrg$as_echo_n "checking for suffix of executables... " >&6; } 295750718ea6Smrgif { (ac_try="$ac_link" 295850718ea6Smrgcase "(($ac_try" in 295950718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 296050718ea6Smrg *) ac_try_echo=$ac_try;; 296150718ea6Smrgesac 296250718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 296350718ea6Smrg$as_echo "$ac_try_echo") >&5 296450718ea6Smrg (eval "$ac_link") 2>&5 296550718ea6Smrg ac_status=$? 296650718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 296750718ea6Smrg (exit $ac_status); }; then 296850718ea6Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 296950718ea6Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 297050718ea6Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 297150718ea6Smrg# `rm'. 297250718ea6Smrgfor ac_file in conftest.exe conftest conftest.*; do 297350718ea6Smrg test -f "$ac_file" || continue 297450718ea6Smrg case $ac_file in 297550718ea6Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 297650718ea6Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 297750718ea6Smrg break;; 297850718ea6Smrg * ) break;; 297950718ea6Smrg esac 298050718ea6Smrgdone 298150718ea6Smrgelse 298250718ea6Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 298350718ea6Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 298450718ea6Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 298550718ea6SmrgSee \`config.log' for more details." >&5 298650718ea6Smrg$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 298750718ea6SmrgSee \`config.log' for more details." >&2;} 298850718ea6Smrg { (exit 1); exit 1; }; }; } 298950718ea6Smrgfi 299050718ea6Smrg 299150718ea6Smrgrm -f conftest$ac_cv_exeext 299250718ea6Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 299350718ea6Smrg$as_echo "$ac_cv_exeext" >&6; } 299450718ea6Smrg 299550718ea6Smrgrm -f conftest.$ac_ext 299650718ea6SmrgEXEEXT=$ac_cv_exeext 299750718ea6Smrgac_exeext=$EXEEXT 299850718ea6Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 299950718ea6Smrg$as_echo_n "checking for suffix of object files... " >&6; } 300050718ea6Smrgif test "${ac_cv_objext+set}" = set; then 300150718ea6Smrg $as_echo_n "(cached) " >&6 300250718ea6Smrgelse 300350718ea6Smrg cat >conftest.$ac_ext <<_ACEOF 300450718ea6Smrg/* confdefs.h. */ 300550718ea6Smrg_ACEOF 300650718ea6Smrgcat confdefs.h >>conftest.$ac_ext 300750718ea6Smrgcat >>conftest.$ac_ext <<_ACEOF 300850718ea6Smrg/* end confdefs.h. */ 300950718ea6Smrg 301050718ea6Smrgint 301150718ea6Smrgmain () 301250718ea6Smrg{ 301350718ea6Smrg 301450718ea6Smrg ; 301550718ea6Smrg return 0; 301650718ea6Smrg} 301750718ea6Smrg_ACEOF 301850718ea6Smrgrm -f conftest.o conftest.obj 301950718ea6Smrgif { (ac_try="$ac_compile" 302050718ea6Smrgcase "(($ac_try" in 302150718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 302250718ea6Smrg *) ac_try_echo=$ac_try;; 302350718ea6Smrgesac 302450718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 302550718ea6Smrg$as_echo "$ac_try_echo") >&5 302650718ea6Smrg (eval "$ac_compile") 2>&5 302750718ea6Smrg ac_status=$? 302850718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 302950718ea6Smrg (exit $ac_status); }; then 303050718ea6Smrg for ac_file in conftest.o conftest.obj conftest.*; do 303150718ea6Smrg test -f "$ac_file" || continue; 303250718ea6Smrg case $ac_file in 303350718ea6Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 303450718ea6Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 303550718ea6Smrg break;; 303650718ea6Smrg esac 303750718ea6Smrgdone 303850718ea6Smrgelse 303950718ea6Smrg $as_echo "$as_me: failed program was:" >&5 304050718ea6Smrgsed 's/^/| /' conftest.$ac_ext >&5 304150718ea6Smrg 304250718ea6Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 304350718ea6Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 304450718ea6Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 304550718ea6SmrgSee \`config.log' for more details." >&5 304650718ea6Smrg$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 304750718ea6SmrgSee \`config.log' for more details." >&2;} 304850718ea6Smrg { (exit 1); exit 1; }; }; } 304950718ea6Smrgfi 305050718ea6Smrg 305150718ea6Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 305250718ea6Smrgfi 305350718ea6Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 305450718ea6Smrg$as_echo "$ac_cv_objext" >&6; } 305550718ea6SmrgOBJEXT=$ac_cv_objext 305650718ea6Smrgac_objext=$OBJEXT 305750718ea6Smrg{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 305850718ea6Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 305950718ea6Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 306050718ea6Smrg $as_echo_n "(cached) " >&6 306150718ea6Smrgelse 306250718ea6Smrg cat >conftest.$ac_ext <<_ACEOF 306350718ea6Smrg/* confdefs.h. */ 306450718ea6Smrg_ACEOF 306550718ea6Smrgcat confdefs.h >>conftest.$ac_ext 306650718ea6Smrgcat >>conftest.$ac_ext <<_ACEOF 306750718ea6Smrg/* end confdefs.h. */ 306850718ea6Smrg 306950718ea6Smrgint 307050718ea6Smrgmain () 307150718ea6Smrg{ 307250718ea6Smrg#ifndef __GNUC__ 307350718ea6Smrg choke me 307450718ea6Smrg#endif 307550718ea6Smrg 307650718ea6Smrg ; 307750718ea6Smrg return 0; 307850718ea6Smrg} 307950718ea6Smrg_ACEOF 308050718ea6Smrgrm -f conftest.$ac_objext 308150718ea6Smrgif { (ac_try="$ac_compile" 308250718ea6Smrgcase "(($ac_try" in 308350718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 308450718ea6Smrg *) ac_try_echo=$ac_try;; 308550718ea6Smrgesac 308650718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 308750718ea6Smrg$as_echo "$ac_try_echo") >&5 308850718ea6Smrg (eval "$ac_compile") 2>conftest.er1 308950718ea6Smrg ac_status=$? 309050718ea6Smrg grep -v '^ *+' conftest.er1 >conftest.err 309150718ea6Smrg rm -f conftest.er1 309250718ea6Smrg cat conftest.err >&5 309350718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 309450718ea6Smrg (exit $ac_status); } && { 309550718ea6Smrg test -z "$ac_c_werror_flag" || 309650718ea6Smrg test ! -s conftest.err 309750718ea6Smrg } && test -s conftest.$ac_objext; then 309850718ea6Smrg ac_compiler_gnu=yes 309950718ea6Smrgelse 310050718ea6Smrg $as_echo "$as_me: failed program was:" >&5 310150718ea6Smrgsed 's/^/| /' conftest.$ac_ext >&5 310250718ea6Smrg 310350718ea6Smrg ac_compiler_gnu=no 310450718ea6Smrgfi 310550718ea6Smrg 310650718ea6Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 310750718ea6Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 310850718ea6Smrg 310950718ea6Smrgfi 311050718ea6Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 311150718ea6Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 311250718ea6Smrgif test $ac_compiler_gnu = yes; then 311350718ea6Smrg GCC=yes 311450718ea6Smrgelse 311550718ea6Smrg GCC= 311650718ea6Smrgfi 311750718ea6Smrgac_test_CFLAGS=${CFLAGS+set} 311850718ea6Smrgac_save_CFLAGS=$CFLAGS 311950718ea6Smrg{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 312050718ea6Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 312150718ea6Smrgif test "${ac_cv_prog_cc_g+set}" = set; then 312250718ea6Smrg $as_echo_n "(cached) " >&6 312350718ea6Smrgelse 312450718ea6Smrg ac_save_c_werror_flag=$ac_c_werror_flag 312550718ea6Smrg ac_c_werror_flag=yes 312650718ea6Smrg ac_cv_prog_cc_g=no 312750718ea6Smrg CFLAGS="-g" 312850718ea6Smrg cat >conftest.$ac_ext <<_ACEOF 312950718ea6Smrg/* confdefs.h. */ 313050718ea6Smrg_ACEOF 313150718ea6Smrgcat confdefs.h >>conftest.$ac_ext 313250718ea6Smrgcat >>conftest.$ac_ext <<_ACEOF 313350718ea6Smrg/* end confdefs.h. */ 313450718ea6Smrg 313550718ea6Smrgint 313650718ea6Smrgmain () 313750718ea6Smrg{ 313850718ea6Smrg 313950718ea6Smrg ; 314050718ea6Smrg return 0; 314150718ea6Smrg} 314250718ea6Smrg_ACEOF 314350718ea6Smrgrm -f conftest.$ac_objext 314450718ea6Smrgif { (ac_try="$ac_compile" 314550718ea6Smrgcase "(($ac_try" in 314650718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 314750718ea6Smrg *) ac_try_echo=$ac_try;; 314850718ea6Smrgesac 314950718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 315050718ea6Smrg$as_echo "$ac_try_echo") >&5 315150718ea6Smrg (eval "$ac_compile") 2>conftest.er1 315250718ea6Smrg ac_status=$? 315350718ea6Smrg grep -v '^ *+' conftest.er1 >conftest.err 315450718ea6Smrg rm -f conftest.er1 315550718ea6Smrg cat conftest.err >&5 315650718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 315750718ea6Smrg (exit $ac_status); } && { 315850718ea6Smrg test -z "$ac_c_werror_flag" || 315950718ea6Smrg test ! -s conftest.err 316050718ea6Smrg } && test -s conftest.$ac_objext; then 316150718ea6Smrg ac_cv_prog_cc_g=yes 316250718ea6Smrgelse 316350718ea6Smrg $as_echo "$as_me: failed program was:" >&5 316450718ea6Smrgsed 's/^/| /' conftest.$ac_ext >&5 316550718ea6Smrg 316650718ea6Smrg CFLAGS="" 316750718ea6Smrg cat >conftest.$ac_ext <<_ACEOF 316850718ea6Smrg/* confdefs.h. */ 316950718ea6Smrg_ACEOF 317050718ea6Smrgcat confdefs.h >>conftest.$ac_ext 317150718ea6Smrgcat >>conftest.$ac_ext <<_ACEOF 317250718ea6Smrg/* end confdefs.h. */ 317350718ea6Smrg 317450718ea6Smrgint 317550718ea6Smrgmain () 317650718ea6Smrg{ 317750718ea6Smrg 317850718ea6Smrg ; 317950718ea6Smrg return 0; 318050718ea6Smrg} 318150718ea6Smrg_ACEOF 318250718ea6Smrgrm -f conftest.$ac_objext 318350718ea6Smrgif { (ac_try="$ac_compile" 318450718ea6Smrgcase "(($ac_try" in 318550718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 318650718ea6Smrg *) ac_try_echo=$ac_try;; 318750718ea6Smrgesac 318850718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 318950718ea6Smrg$as_echo "$ac_try_echo") >&5 319050718ea6Smrg (eval "$ac_compile") 2>conftest.er1 319150718ea6Smrg ac_status=$? 319250718ea6Smrg grep -v '^ *+' conftest.er1 >conftest.err 319350718ea6Smrg rm -f conftest.er1 319450718ea6Smrg cat conftest.err >&5 319550718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 319650718ea6Smrg (exit $ac_status); } && { 319750718ea6Smrg test -z "$ac_c_werror_flag" || 319850718ea6Smrg test ! -s conftest.err 319950718ea6Smrg } && test -s conftest.$ac_objext; then 320050718ea6Smrg : 320150718ea6Smrgelse 320250718ea6Smrg $as_echo "$as_me: failed program was:" >&5 320350718ea6Smrgsed 's/^/| /' conftest.$ac_ext >&5 320450718ea6Smrg 320550718ea6Smrg ac_c_werror_flag=$ac_save_c_werror_flag 320650718ea6Smrg CFLAGS="-g" 320750718ea6Smrg cat >conftest.$ac_ext <<_ACEOF 320850718ea6Smrg/* confdefs.h. */ 320950718ea6Smrg_ACEOF 321050718ea6Smrgcat confdefs.h >>conftest.$ac_ext 321150718ea6Smrgcat >>conftest.$ac_ext <<_ACEOF 321250718ea6Smrg/* end confdefs.h. */ 321350718ea6Smrg 321450718ea6Smrgint 321550718ea6Smrgmain () 321650718ea6Smrg{ 321750718ea6Smrg 321850718ea6Smrg ; 321950718ea6Smrg return 0; 322050718ea6Smrg} 322150718ea6Smrg_ACEOF 322250718ea6Smrgrm -f conftest.$ac_objext 322350718ea6Smrgif { (ac_try="$ac_compile" 322450718ea6Smrgcase "(($ac_try" in 322550718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 322650718ea6Smrg *) ac_try_echo=$ac_try;; 322750718ea6Smrgesac 322850718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 322950718ea6Smrg$as_echo "$ac_try_echo") >&5 323050718ea6Smrg (eval "$ac_compile") 2>conftest.er1 323150718ea6Smrg ac_status=$? 323250718ea6Smrg grep -v '^ *+' conftest.er1 >conftest.err 323350718ea6Smrg rm -f conftest.er1 323450718ea6Smrg cat conftest.err >&5 323550718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 323650718ea6Smrg (exit $ac_status); } && { 323750718ea6Smrg test -z "$ac_c_werror_flag" || 323850718ea6Smrg test ! -s conftest.err 323950718ea6Smrg } && test -s conftest.$ac_objext; then 324050718ea6Smrg ac_cv_prog_cc_g=yes 324150718ea6Smrgelse 324250718ea6Smrg $as_echo "$as_me: failed program was:" >&5 324350718ea6Smrgsed 's/^/| /' conftest.$ac_ext >&5 324450718ea6Smrg 324550718ea6Smrg 324650718ea6Smrgfi 324750718ea6Smrg 324850718ea6Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 324950718ea6Smrgfi 325050718ea6Smrg 325150718ea6Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 325250718ea6Smrgfi 325350718ea6Smrg 325450718ea6Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 325550718ea6Smrg ac_c_werror_flag=$ac_save_c_werror_flag 325650718ea6Smrgfi 325750718ea6Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 325850718ea6Smrg$as_echo "$ac_cv_prog_cc_g" >&6; } 325950718ea6Smrgif test "$ac_test_CFLAGS" = set; then 326050718ea6Smrg CFLAGS=$ac_save_CFLAGS 326150718ea6Smrgelif test $ac_cv_prog_cc_g = yes; then 326250718ea6Smrg if test "$GCC" = yes; then 326350718ea6Smrg CFLAGS="-g -O2" 326450718ea6Smrg else 326550718ea6Smrg CFLAGS="-g" 326650718ea6Smrg fi 326750718ea6Smrgelse 326850718ea6Smrg if test "$GCC" = yes; then 326950718ea6Smrg CFLAGS="-O2" 327050718ea6Smrg else 327150718ea6Smrg CFLAGS= 327250718ea6Smrg fi 327350718ea6Smrgfi 327450718ea6Smrg{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 327550718ea6Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 327650718ea6Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then 327750718ea6Smrg $as_echo_n "(cached) " >&6 327850718ea6Smrgelse 327950718ea6Smrg ac_cv_prog_cc_c89=no 328050718ea6Smrgac_save_CC=$CC 328150718ea6Smrgcat >conftest.$ac_ext <<_ACEOF 328250718ea6Smrg/* confdefs.h. */ 328350718ea6Smrg_ACEOF 328450718ea6Smrgcat confdefs.h >>conftest.$ac_ext 328550718ea6Smrgcat >>conftest.$ac_ext <<_ACEOF 328650718ea6Smrg/* end confdefs.h. */ 328750718ea6Smrg#include <stdarg.h> 328850718ea6Smrg#include <stdio.h> 328950718ea6Smrg#include <sys/types.h> 329050718ea6Smrg#include <sys/stat.h> 329150718ea6Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 329250718ea6Smrgstruct buf { int x; }; 329350718ea6SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 329450718ea6Smrgstatic char *e (p, i) 329550718ea6Smrg char **p; 329650718ea6Smrg int i; 329750718ea6Smrg{ 329850718ea6Smrg return p[i]; 329950718ea6Smrg} 330050718ea6Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 330150718ea6Smrg{ 330250718ea6Smrg char *s; 330350718ea6Smrg va_list v; 330450718ea6Smrg va_start (v,p); 330550718ea6Smrg s = g (p, va_arg (v,int)); 330650718ea6Smrg va_end (v); 330750718ea6Smrg return s; 330850718ea6Smrg} 330950718ea6Smrg 331050718ea6Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 331150718ea6Smrg function prototypes and stuff, but not '\xHH' hex character constants. 331250718ea6Smrg These don't provoke an error unfortunately, instead are silently treated 331350718ea6Smrg as 'x'. The following induces an error, until -std is added to get 331450718ea6Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 331550718ea6Smrg array size at least. It's necessary to write '\x00'==0 to get something 331650718ea6Smrg that's true only with -std. */ 331750718ea6Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 331850718ea6Smrg 331950718ea6Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 332050718ea6Smrg inside strings and character constants. */ 332150718ea6Smrg#define FOO(x) 'x' 332250718ea6Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 332350718ea6Smrg 332450718ea6Smrgint test (int i, double x); 332550718ea6Smrgstruct s1 {int (*f) (int a);}; 332650718ea6Smrgstruct s2 {int (*f) (double a);}; 332750718ea6Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 332850718ea6Smrgint argc; 332950718ea6Smrgchar **argv; 333050718ea6Smrgint 333150718ea6Smrgmain () 333250718ea6Smrg{ 333350718ea6Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 333450718ea6Smrg ; 333550718ea6Smrg return 0; 333650718ea6Smrg} 333750718ea6Smrg_ACEOF 333850718ea6Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 333950718ea6Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 334050718ea6Smrgdo 334150718ea6Smrg CC="$ac_save_CC $ac_arg" 334250718ea6Smrg rm -f conftest.$ac_objext 334350718ea6Smrgif { (ac_try="$ac_compile" 334450718ea6Smrgcase "(($ac_try" in 334550718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 334650718ea6Smrg *) ac_try_echo=$ac_try;; 334750718ea6Smrgesac 334850718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 334950718ea6Smrg$as_echo "$ac_try_echo") >&5 335050718ea6Smrg (eval "$ac_compile") 2>conftest.er1 335150718ea6Smrg ac_status=$? 335250718ea6Smrg grep -v '^ *+' conftest.er1 >conftest.err 335350718ea6Smrg rm -f conftest.er1 335450718ea6Smrg cat conftest.err >&5 335550718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 335650718ea6Smrg (exit $ac_status); } && { 335750718ea6Smrg test -z "$ac_c_werror_flag" || 335850718ea6Smrg test ! -s conftest.err 335950718ea6Smrg } && test -s conftest.$ac_objext; then 336050718ea6Smrg ac_cv_prog_cc_c89=$ac_arg 336150718ea6Smrgelse 336250718ea6Smrg $as_echo "$as_me: failed program was:" >&5 336350718ea6Smrgsed 's/^/| /' conftest.$ac_ext >&5 336450718ea6Smrg 336550718ea6Smrg 336650718ea6Smrgfi 336750718ea6Smrg 336850718ea6Smrgrm -f core conftest.err conftest.$ac_objext 336950718ea6Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 337050718ea6Smrgdone 337150718ea6Smrgrm -f conftest.$ac_ext 337250718ea6SmrgCC=$ac_save_CC 337350718ea6Smrg 337450718ea6Smrgfi 337550718ea6Smrg# AC_CACHE_VAL 337650718ea6Smrgcase "x$ac_cv_prog_cc_c89" in 337750718ea6Smrg x) 337850718ea6Smrg { $as_echo "$as_me:$LINENO: result: none needed" >&5 337950718ea6Smrg$as_echo "none needed" >&6; } ;; 338050718ea6Smrg xno) 338150718ea6Smrg { $as_echo "$as_me:$LINENO: result: unsupported" >&5 338250718ea6Smrg$as_echo "unsupported" >&6; } ;; 338350718ea6Smrg *) 338450718ea6Smrg CC="$CC $ac_cv_prog_cc_c89" 338550718ea6Smrg { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 338650718ea6Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 338750718ea6Smrgesac 338850718ea6Smrg 338950718ea6Smrg 339050718ea6Smrgac_ext=c 339150718ea6Smrgac_cpp='$CPP $CPPFLAGS' 339250718ea6Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 339350718ea6Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 339450718ea6Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 339550718ea6Smrg 339650718ea6Smrgdepcc="$CC" am_compiler_list= 339750718ea6Smrg 339850718ea6Smrg{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 339950718ea6Smrg$as_echo_n "checking dependency style of $depcc... " >&6; } 340050718ea6Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 340150718ea6Smrg $as_echo_n "(cached) " >&6 340250718ea6Smrgelse 340350718ea6Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 340450718ea6Smrg # We make a subdir and do the tests there. Otherwise we can end up 340550718ea6Smrg # making bogus files that we don't know about and never remove. For 340650718ea6Smrg # instance it was reported that on HP-UX the gcc test will end up 340750718ea6Smrg # making a dummy file named `D' -- because `-MD' means `put the output 340850718ea6Smrg # in D'. 340950718ea6Smrg mkdir conftest.dir 341050718ea6Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 341150718ea6Smrg # using a relative directory. 341250718ea6Smrg cp "$am_depcomp" conftest.dir 341350718ea6Smrg cd conftest.dir 341450718ea6Smrg # We will build objects and dependencies in a subdirectory because 341550718ea6Smrg # it helps to detect inapplicable dependency modes. For instance 341650718ea6Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 341750718ea6Smrg # side effect of compilation, but ICC will put the dependencies in 341850718ea6Smrg # the current directory while Tru64 will put them in the object 341950718ea6Smrg # directory. 342050718ea6Smrg mkdir sub 342150718ea6Smrg 342250718ea6Smrg am_cv_CC_dependencies_compiler_type=none 342350718ea6Smrg if test "$am_compiler_list" = ""; then 342450718ea6Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 342550718ea6Smrg fi 342650718ea6Smrg am__universal=false 342750718ea6Smrg case " $depcc " in #( 342850718ea6Smrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 342950718ea6Smrg esac 343050718ea6Smrg 343150718ea6Smrg for depmode in $am_compiler_list; do 343250718ea6Smrg # Setup a source with many dependencies, because some compilers 343350718ea6Smrg # like to wrap large dependency lists on column 80 (with \), and 343450718ea6Smrg # we should not choose a depcomp mode which is confused by this. 343550718ea6Smrg # 343650718ea6Smrg # We need to recreate these files for each test, as the compiler may 343750718ea6Smrg # overwrite some of them when testing with obscure command lines. 343850718ea6Smrg # This happens at least with the AIX C compiler. 343950718ea6Smrg : > sub/conftest.c 344050718ea6Smrg for i in 1 2 3 4 5 6; do 344150718ea6Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 344250718ea6Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 344350718ea6Smrg # Solaris 8's {/usr,}/bin/sh. 344450718ea6Smrg touch sub/conftst$i.h 344550718ea6Smrg done 344650718ea6Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 344750718ea6Smrg 344850718ea6Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 344950718ea6Smrg # mode. It turns out that the SunPro C++ compiler does not properly 345050718ea6Smrg # handle `-M -o', and we need to detect this. Also, some Intel 345150718ea6Smrg # versions had trouble with output in subdirs 345250718ea6Smrg am__obj=sub/conftest.${OBJEXT-o} 345350718ea6Smrg am__minus_obj="-o $am__obj" 345450718ea6Smrg case $depmode in 345550718ea6Smrg gcc) 345650718ea6Smrg # This depmode causes a compiler race in universal mode. 345750718ea6Smrg test "$am__universal" = false || continue 345850718ea6Smrg ;; 345950718ea6Smrg nosideeffect) 346050718ea6Smrg # after this tag, mechanisms are not by side-effect, so they'll 346150718ea6Smrg # only be used when explicitly requested 346250718ea6Smrg if test "x$enable_dependency_tracking" = xyes; then 346350718ea6Smrg continue 346450718ea6Smrg else 346550718ea6Smrg break 346650718ea6Smrg fi 346750718ea6Smrg ;; 346850718ea6Smrg msvisualcpp | msvcmsys) 346950718ea6Smrg # This compiler won't grok `-c -o', but also, the minuso test has 347050718ea6Smrg # not run yet. These depmodes are late enough in the game, and 347150718ea6Smrg # so weak that their functioning should not be impacted. 347250718ea6Smrg am__obj=conftest.${OBJEXT-o} 347350718ea6Smrg am__minus_obj= 347450718ea6Smrg ;; 347550718ea6Smrg none) break ;; 347650718ea6Smrg esac 347750718ea6Smrg if depmode=$depmode \ 347850718ea6Smrg source=sub/conftest.c object=$am__obj \ 347950718ea6Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 348050718ea6Smrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 348150718ea6Smrg >/dev/null 2>conftest.err && 348250718ea6Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 348350718ea6Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 348450718ea6Smrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 348550718ea6Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 348650718ea6Smrg # icc doesn't choke on unknown options, it will just issue warnings 348750718ea6Smrg # or remarks (even with -Werror). So we grep stderr for any message 348850718ea6Smrg # that says an option was ignored or not supported. 348950718ea6Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 349050718ea6Smrg # icc: Command line warning: ignoring option '-M'; no argument required 349150718ea6Smrg # The diagnosis changed in icc 8.0: 349250718ea6Smrg # icc: Command line remark: option '-MP' not supported 349350718ea6Smrg if (grep 'ignoring option' conftest.err || 349450718ea6Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 349550718ea6Smrg am_cv_CC_dependencies_compiler_type=$depmode 349650718ea6Smrg break 349750718ea6Smrg fi 349850718ea6Smrg fi 349950718ea6Smrg done 350050718ea6Smrg 350150718ea6Smrg cd .. 350250718ea6Smrg rm -rf conftest.dir 350350718ea6Smrgelse 350450718ea6Smrg am_cv_CC_dependencies_compiler_type=none 350550718ea6Smrgfi 350650718ea6Smrg 350750718ea6Smrgfi 350850718ea6Smrg{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 350950718ea6Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 351050718ea6SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 351150718ea6Smrg 351250718ea6Smrg if 351350718ea6Smrg test "x$enable_dependency_tracking" != xno \ 351450718ea6Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 351550718ea6Smrg am__fastdepCC_TRUE= 351650718ea6Smrg am__fastdepCC_FALSE='#' 351750718ea6Smrgelse 351850718ea6Smrg am__fastdepCC_TRUE='#' 351950718ea6Smrg am__fastdepCC_FALSE= 352050718ea6Smrgfi 352150718ea6Smrg 352250718ea6Smrg 352350718ea6Smrg 352450718ea6Smrgac_ext=c 352550718ea6Smrgac_cpp='$CPP $CPPFLAGS' 352650718ea6Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 352750718ea6Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 352850718ea6Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 352950718ea6Smrg{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 353050718ea6Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 353150718ea6Smrg# On Suns, sometimes $CPP names a directory. 353250718ea6Smrgif test -n "$CPP" && test -d "$CPP"; then 353350718ea6Smrg CPP= 353450718ea6Smrgfi 353550718ea6Smrgif test -z "$CPP"; then 353650718ea6Smrg if test "${ac_cv_prog_CPP+set}" = set; then 353750718ea6Smrg $as_echo_n "(cached) " >&6 353850718ea6Smrgelse 353950718ea6Smrg # Double quotes because CPP needs to be expanded 354050718ea6Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 354150718ea6Smrg do 354250718ea6Smrg ac_preproc_ok=false 354350718ea6Smrgfor ac_c_preproc_warn_flag in '' yes 354450718ea6Smrgdo 354550718ea6Smrg # Use a header file that comes with gcc, so configuring glibc 354650718ea6Smrg # with a fresh cross-compiler works. 354750718ea6Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 354850718ea6Smrg # <limits.h> exists even on freestanding compilers. 354950718ea6Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 355050718ea6Smrg # not just through cpp. "Syntax error" is here to catch this case. 355150718ea6Smrg cat >conftest.$ac_ext <<_ACEOF 355250718ea6Smrg/* confdefs.h. */ 355350718ea6Smrg_ACEOF 355450718ea6Smrgcat confdefs.h >>conftest.$ac_ext 355550718ea6Smrgcat >>conftest.$ac_ext <<_ACEOF 355650718ea6Smrg/* end confdefs.h. */ 355750718ea6Smrg#ifdef __STDC__ 355850718ea6Smrg# include <limits.h> 355950718ea6Smrg#else 356050718ea6Smrg# include <assert.h> 356150718ea6Smrg#endif 356250718ea6Smrg Syntax error 356350718ea6Smrg_ACEOF 356450718ea6Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 356550718ea6Smrgcase "(($ac_try" in 356650718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 356750718ea6Smrg *) ac_try_echo=$ac_try;; 356850718ea6Smrgesac 356950718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 357050718ea6Smrg$as_echo "$ac_try_echo") >&5 357150718ea6Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 357250718ea6Smrg ac_status=$? 357350718ea6Smrg grep -v '^ *+' conftest.er1 >conftest.err 357450718ea6Smrg rm -f conftest.er1 357550718ea6Smrg cat conftest.err >&5 357650718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 357750718ea6Smrg (exit $ac_status); } >/dev/null && { 357850718ea6Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 357950718ea6Smrg test ! -s conftest.err 358050718ea6Smrg }; then 358150718ea6Smrg : 358250718ea6Smrgelse 358350718ea6Smrg $as_echo "$as_me: failed program was:" >&5 358450718ea6Smrgsed 's/^/| /' conftest.$ac_ext >&5 358550718ea6Smrg 358650718ea6Smrg # Broken: fails on valid input. 358750718ea6Smrgcontinue 358850718ea6Smrgfi 358950718ea6Smrg 359050718ea6Smrgrm -f conftest.err conftest.$ac_ext 359150718ea6Smrg 359250718ea6Smrg # OK, works on sane cases. Now check whether nonexistent headers 359350718ea6Smrg # can be detected and how. 359450718ea6Smrg cat >conftest.$ac_ext <<_ACEOF 359550718ea6Smrg/* confdefs.h. */ 359650718ea6Smrg_ACEOF 359750718ea6Smrgcat confdefs.h >>conftest.$ac_ext 359850718ea6Smrgcat >>conftest.$ac_ext <<_ACEOF 359950718ea6Smrg/* end confdefs.h. */ 360050718ea6Smrg#include <ac_nonexistent.h> 360150718ea6Smrg_ACEOF 360250718ea6Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 360350718ea6Smrgcase "(($ac_try" in 360450718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 360550718ea6Smrg *) ac_try_echo=$ac_try;; 360650718ea6Smrgesac 360750718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 360850718ea6Smrg$as_echo "$ac_try_echo") >&5 360950718ea6Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 361050718ea6Smrg ac_status=$? 361150718ea6Smrg grep -v '^ *+' conftest.er1 >conftest.err 361250718ea6Smrg rm -f conftest.er1 361350718ea6Smrg cat conftest.err >&5 361450718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 361550718ea6Smrg (exit $ac_status); } >/dev/null && { 361650718ea6Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 361750718ea6Smrg test ! -s conftest.err 361850718ea6Smrg }; then 361950718ea6Smrg # Broken: success on invalid input. 362050718ea6Smrgcontinue 362150718ea6Smrgelse 362250718ea6Smrg $as_echo "$as_me: failed program was:" >&5 362350718ea6Smrgsed 's/^/| /' conftest.$ac_ext >&5 362450718ea6Smrg 362550718ea6Smrg # Passes both tests. 362650718ea6Smrgac_preproc_ok=: 362750718ea6Smrgbreak 362850718ea6Smrgfi 362950718ea6Smrg 363050718ea6Smrgrm -f conftest.err conftest.$ac_ext 363150718ea6Smrg 363250718ea6Smrgdone 363350718ea6Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 363450718ea6Smrgrm -f conftest.err conftest.$ac_ext 363550718ea6Smrgif $ac_preproc_ok; then 363650718ea6Smrg break 363750718ea6Smrgfi 363850718ea6Smrg 363950718ea6Smrg done 364050718ea6Smrg ac_cv_prog_CPP=$CPP 364150718ea6Smrg 364250718ea6Smrgfi 364350718ea6Smrg CPP=$ac_cv_prog_CPP 364450718ea6Smrgelse 364550718ea6Smrg ac_cv_prog_CPP=$CPP 364650718ea6Smrgfi 364750718ea6Smrg{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 364850718ea6Smrg$as_echo "$CPP" >&6; } 364950718ea6Smrgac_preproc_ok=false 365050718ea6Smrgfor ac_c_preproc_warn_flag in '' yes 365150718ea6Smrgdo 365250718ea6Smrg # Use a header file that comes with gcc, so configuring glibc 365350718ea6Smrg # with a fresh cross-compiler works. 365450718ea6Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 365550718ea6Smrg # <limits.h> exists even on freestanding compilers. 365650718ea6Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 365750718ea6Smrg # not just through cpp. "Syntax error" is here to catch this case. 365850718ea6Smrg cat >conftest.$ac_ext <<_ACEOF 365950718ea6Smrg/* confdefs.h. */ 366050718ea6Smrg_ACEOF 366150718ea6Smrgcat confdefs.h >>conftest.$ac_ext 366250718ea6Smrgcat >>conftest.$ac_ext <<_ACEOF 366350718ea6Smrg/* end confdefs.h. */ 366450718ea6Smrg#ifdef __STDC__ 366550718ea6Smrg# include <limits.h> 366650718ea6Smrg#else 366750718ea6Smrg# include <assert.h> 366850718ea6Smrg#endif 366950718ea6Smrg Syntax error 367050718ea6Smrg_ACEOF 367150718ea6Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 367250718ea6Smrgcase "(($ac_try" in 367350718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 367450718ea6Smrg *) ac_try_echo=$ac_try;; 367550718ea6Smrgesac 367650718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 367750718ea6Smrg$as_echo "$ac_try_echo") >&5 367850718ea6Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 367950718ea6Smrg ac_status=$? 368050718ea6Smrg grep -v '^ *+' conftest.er1 >conftest.err 368150718ea6Smrg rm -f conftest.er1 368250718ea6Smrg cat conftest.err >&5 368350718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 368450718ea6Smrg (exit $ac_status); } >/dev/null && { 368550718ea6Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 368650718ea6Smrg test ! -s conftest.err 368750718ea6Smrg }; then 368850718ea6Smrg : 368950718ea6Smrgelse 369050718ea6Smrg $as_echo "$as_me: failed program was:" >&5 369150718ea6Smrgsed 's/^/| /' conftest.$ac_ext >&5 369250718ea6Smrg 369350718ea6Smrg # Broken: fails on valid input. 369450718ea6Smrgcontinue 369550718ea6Smrgfi 369650718ea6Smrg 369750718ea6Smrgrm -f conftest.err conftest.$ac_ext 369850718ea6Smrg 369950718ea6Smrg # OK, works on sane cases. Now check whether nonexistent headers 370050718ea6Smrg # can be detected and how. 370150718ea6Smrg cat >conftest.$ac_ext <<_ACEOF 370250718ea6Smrg/* confdefs.h. */ 370350718ea6Smrg_ACEOF 370450718ea6Smrgcat confdefs.h >>conftest.$ac_ext 370550718ea6Smrgcat >>conftest.$ac_ext <<_ACEOF 370650718ea6Smrg/* end confdefs.h. */ 370750718ea6Smrg#include <ac_nonexistent.h> 370850718ea6Smrg_ACEOF 370950718ea6Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 371050718ea6Smrgcase "(($ac_try" in 371150718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 371250718ea6Smrg *) ac_try_echo=$ac_try;; 371350718ea6Smrgesac 371450718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 371550718ea6Smrg$as_echo "$ac_try_echo") >&5 371650718ea6Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 371750718ea6Smrg ac_status=$? 371850718ea6Smrg grep -v '^ *+' conftest.er1 >conftest.err 371950718ea6Smrg rm -f conftest.er1 372050718ea6Smrg cat conftest.err >&5 372150718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 372250718ea6Smrg (exit $ac_status); } >/dev/null && { 372350718ea6Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 372450718ea6Smrg test ! -s conftest.err 372550718ea6Smrg }; then 372650718ea6Smrg # Broken: success on invalid input. 372750718ea6Smrgcontinue 372850718ea6Smrgelse 372950718ea6Smrg $as_echo "$as_me: failed program was:" >&5 373050718ea6Smrgsed 's/^/| /' conftest.$ac_ext >&5 373150718ea6Smrg 373250718ea6Smrg # Passes both tests. 373350718ea6Smrgac_preproc_ok=: 373450718ea6Smrgbreak 373550718ea6Smrgfi 373650718ea6Smrg 373750718ea6Smrgrm -f conftest.err conftest.$ac_ext 373850718ea6Smrg 373950718ea6Smrgdone 374050718ea6Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 374150718ea6Smrgrm -f conftest.err conftest.$ac_ext 374250718ea6Smrgif $ac_preproc_ok; then 374350718ea6Smrg : 374450718ea6Smrgelse 374550718ea6Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 374650718ea6Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 374750718ea6Smrg{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 374850718ea6SmrgSee \`config.log' for more details." >&5 374950718ea6Smrg$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 375050718ea6SmrgSee \`config.log' for more details." >&2;} 375150718ea6Smrg { (exit 1); exit 1; }; }; } 375250718ea6Smrgfi 375350718ea6Smrg 375450718ea6Smrgac_ext=c 375550718ea6Smrgac_cpp='$CPP $CPPFLAGS' 375650718ea6Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 375750718ea6Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 375850718ea6Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 375950718ea6Smrg 376050718ea6Smrg 376150718ea6Smrg{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 376250718ea6Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 376350718ea6Smrgif test "${ac_cv_path_GREP+set}" = set; then 376450718ea6Smrg $as_echo_n "(cached) " >&6 376550718ea6Smrgelse 376650718ea6Smrg if test -z "$GREP"; then 376750718ea6Smrg ac_path_GREP_found=false 376850718ea6Smrg # Loop through the user's path and test for each of PROGNAME-LIST 376950718ea6Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 377050718ea6Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 377150718ea6Smrgdo 377250718ea6Smrg IFS=$as_save_IFS 377350718ea6Smrg test -z "$as_dir" && as_dir=. 377450718ea6Smrg for ac_prog in grep ggrep; do 377550718ea6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 377650718ea6Smrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 377750718ea6Smrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 377850718ea6Smrg# Check for GNU ac_path_GREP and select it if it is found. 377950718ea6Smrg # Check for GNU $ac_path_GREP 378050718ea6Smrgcase `"$ac_path_GREP" --version 2>&1` in 378150718ea6Smrg*GNU*) 378250718ea6Smrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 378350718ea6Smrg*) 378450718ea6Smrg ac_count=0 378550718ea6Smrg $as_echo_n 0123456789 >"conftest.in" 378650718ea6Smrg while : 378750718ea6Smrg do 378850718ea6Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 378950718ea6Smrg mv "conftest.tmp" "conftest.in" 379050718ea6Smrg cp "conftest.in" "conftest.nl" 379150718ea6Smrg $as_echo 'GREP' >> "conftest.nl" 379250718ea6Smrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 379350718ea6Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 379450718ea6Smrg ac_count=`expr $ac_count + 1` 379550718ea6Smrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 379650718ea6Smrg # Best one so far, save it but keep looking for a better one 379750718ea6Smrg ac_cv_path_GREP="$ac_path_GREP" 379850718ea6Smrg ac_path_GREP_max=$ac_count 379950718ea6Smrg fi 380050718ea6Smrg # 10*(2^10) chars as input seems more than enough 380150718ea6Smrg test $ac_count -gt 10 && break 380250718ea6Smrg done 380350718ea6Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 380450718ea6Smrgesac 380550718ea6Smrg 380650718ea6Smrg $ac_path_GREP_found && break 3 380750718ea6Smrg done 380850718ea6Smrg done 380950718ea6Smrgdone 381050718ea6SmrgIFS=$as_save_IFS 381150718ea6Smrg if test -z "$ac_cv_path_GREP"; then 381250718ea6Smrg { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 381350718ea6Smrg$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 381450718ea6Smrg { (exit 1); exit 1; }; } 381550718ea6Smrg fi 381650718ea6Smrgelse 381750718ea6Smrg ac_cv_path_GREP=$GREP 381850718ea6Smrgfi 381950718ea6Smrg 382050718ea6Smrgfi 382150718ea6Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 382250718ea6Smrg$as_echo "$ac_cv_path_GREP" >&6; } 382350718ea6Smrg GREP="$ac_cv_path_GREP" 382450718ea6Smrg 382550718ea6Smrg 382650718ea6Smrg{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 382750718ea6Smrg$as_echo_n "checking for egrep... " >&6; } 382850718ea6Smrgif test "${ac_cv_path_EGREP+set}" = set; then 382950718ea6Smrg $as_echo_n "(cached) " >&6 383050718ea6Smrgelse 383150718ea6Smrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 383250718ea6Smrg then ac_cv_path_EGREP="$GREP -E" 383350718ea6Smrg else 383450718ea6Smrg if test -z "$EGREP"; then 383550718ea6Smrg ac_path_EGREP_found=false 383650718ea6Smrg # Loop through the user's path and test for each of PROGNAME-LIST 383750718ea6Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 383850718ea6Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 383950718ea6Smrgdo 384050718ea6Smrg IFS=$as_save_IFS 384150718ea6Smrg test -z "$as_dir" && as_dir=. 384250718ea6Smrg for ac_prog in egrep; do 384350718ea6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 384450718ea6Smrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 384550718ea6Smrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 384650718ea6Smrg# Check for GNU ac_path_EGREP and select it if it is found. 384750718ea6Smrg # Check for GNU $ac_path_EGREP 384850718ea6Smrgcase `"$ac_path_EGREP" --version 2>&1` in 384950718ea6Smrg*GNU*) 385050718ea6Smrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 385150718ea6Smrg*) 385250718ea6Smrg ac_count=0 385350718ea6Smrg $as_echo_n 0123456789 >"conftest.in" 385450718ea6Smrg while : 385550718ea6Smrg do 385650718ea6Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 385750718ea6Smrg mv "conftest.tmp" "conftest.in" 385850718ea6Smrg cp "conftest.in" "conftest.nl" 385950718ea6Smrg $as_echo 'EGREP' >> "conftest.nl" 386050718ea6Smrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 386150718ea6Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 386250718ea6Smrg ac_count=`expr $ac_count + 1` 386350718ea6Smrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 386450718ea6Smrg # Best one so far, save it but keep looking for a better one 386550718ea6Smrg ac_cv_path_EGREP="$ac_path_EGREP" 386650718ea6Smrg ac_path_EGREP_max=$ac_count 386750718ea6Smrg fi 386850718ea6Smrg # 10*(2^10) chars as input seems more than enough 386950718ea6Smrg test $ac_count -gt 10 && break 387050718ea6Smrg done 387150718ea6Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 387250718ea6Smrgesac 387350718ea6Smrg 387450718ea6Smrg $ac_path_EGREP_found && break 3 387550718ea6Smrg done 387650718ea6Smrg done 387750718ea6Smrgdone 387850718ea6SmrgIFS=$as_save_IFS 387950718ea6Smrg if test -z "$ac_cv_path_EGREP"; then 388050718ea6Smrg { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 388150718ea6Smrg$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 388250718ea6Smrg { (exit 1); exit 1; }; } 388350718ea6Smrg fi 388450718ea6Smrgelse 388550718ea6Smrg ac_cv_path_EGREP=$EGREP 388650718ea6Smrgfi 388750718ea6Smrg 388850718ea6Smrg fi 388950718ea6Smrgfi 389050718ea6Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 389150718ea6Smrg$as_echo "$ac_cv_path_EGREP" >&6; } 389250718ea6Smrg EGREP="$ac_cv_path_EGREP" 389350718ea6Smrg 389450718ea6Smrg 389550718ea6Smrg{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 389650718ea6Smrg$as_echo_n "checking for ANSI C header files... " >&6; } 389750718ea6Smrgif test "${ac_cv_header_stdc+set}" = set; then 389850718ea6Smrg $as_echo_n "(cached) " >&6 389950718ea6Smrgelse 390050718ea6Smrg cat >conftest.$ac_ext <<_ACEOF 390150718ea6Smrg/* confdefs.h. */ 390250718ea6Smrg_ACEOF 390350718ea6Smrgcat confdefs.h >>conftest.$ac_ext 390450718ea6Smrgcat >>conftest.$ac_ext <<_ACEOF 390550718ea6Smrg/* end confdefs.h. */ 390650718ea6Smrg#include <stdlib.h> 390750718ea6Smrg#include <stdarg.h> 390850718ea6Smrg#include <string.h> 390950718ea6Smrg#include <float.h> 391050718ea6Smrg 391150718ea6Smrgint 391250718ea6Smrgmain () 391350718ea6Smrg{ 391450718ea6Smrg 391550718ea6Smrg ; 391650718ea6Smrg return 0; 391750718ea6Smrg} 391850718ea6Smrg_ACEOF 391950718ea6Smrgrm -f conftest.$ac_objext 392050718ea6Smrgif { (ac_try="$ac_compile" 392150718ea6Smrgcase "(($ac_try" in 392250718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 392350718ea6Smrg *) ac_try_echo=$ac_try;; 392450718ea6Smrgesac 392550718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 392650718ea6Smrg$as_echo "$ac_try_echo") >&5 392750718ea6Smrg (eval "$ac_compile") 2>conftest.er1 392850718ea6Smrg ac_status=$? 392950718ea6Smrg grep -v '^ *+' conftest.er1 >conftest.err 393050718ea6Smrg rm -f conftest.er1 393150718ea6Smrg cat conftest.err >&5 393250718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 393350718ea6Smrg (exit $ac_status); } && { 393450718ea6Smrg test -z "$ac_c_werror_flag" || 393550718ea6Smrg test ! -s conftest.err 393650718ea6Smrg } && test -s conftest.$ac_objext; then 393750718ea6Smrg ac_cv_header_stdc=yes 393850718ea6Smrgelse 393950718ea6Smrg $as_echo "$as_me: failed program was:" >&5 394050718ea6Smrgsed 's/^/| /' conftest.$ac_ext >&5 394150718ea6Smrg 394250718ea6Smrg ac_cv_header_stdc=no 394350718ea6Smrgfi 394450718ea6Smrg 394550718ea6Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 394650718ea6Smrg 394750718ea6Smrgif test $ac_cv_header_stdc = yes; then 394850718ea6Smrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 394950718ea6Smrg cat >conftest.$ac_ext <<_ACEOF 395050718ea6Smrg/* confdefs.h. */ 395150718ea6Smrg_ACEOF 395250718ea6Smrgcat confdefs.h >>conftest.$ac_ext 395350718ea6Smrgcat >>conftest.$ac_ext <<_ACEOF 395450718ea6Smrg/* end confdefs.h. */ 395550718ea6Smrg#include <string.h> 395650718ea6Smrg 395750718ea6Smrg_ACEOF 395850718ea6Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 395950718ea6Smrg $EGREP "memchr" >/dev/null 2>&1; then 396050718ea6Smrg : 396150718ea6Smrgelse 396250718ea6Smrg ac_cv_header_stdc=no 396350718ea6Smrgfi 396450718ea6Smrgrm -f conftest* 396550718ea6Smrg 396650718ea6Smrgfi 396750718ea6Smrg 396850718ea6Smrgif test $ac_cv_header_stdc = yes; then 396950718ea6Smrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 397050718ea6Smrg cat >conftest.$ac_ext <<_ACEOF 397150718ea6Smrg/* confdefs.h. */ 397250718ea6Smrg_ACEOF 397350718ea6Smrgcat confdefs.h >>conftest.$ac_ext 397450718ea6Smrgcat >>conftest.$ac_ext <<_ACEOF 397550718ea6Smrg/* end confdefs.h. */ 397650718ea6Smrg#include <stdlib.h> 397750718ea6Smrg 397850718ea6Smrg_ACEOF 397950718ea6Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 398050718ea6Smrg $EGREP "free" >/dev/null 2>&1; then 398150718ea6Smrg : 398250718ea6Smrgelse 398350718ea6Smrg ac_cv_header_stdc=no 398450718ea6Smrgfi 398550718ea6Smrgrm -f conftest* 398650718ea6Smrg 398750718ea6Smrgfi 398850718ea6Smrg 398950718ea6Smrgif test $ac_cv_header_stdc = yes; then 399050718ea6Smrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 399150718ea6Smrg if test "$cross_compiling" = yes; then 399250718ea6Smrg : 399350718ea6Smrgelse 399450718ea6Smrg cat >conftest.$ac_ext <<_ACEOF 399550718ea6Smrg/* confdefs.h. */ 399650718ea6Smrg_ACEOF 399750718ea6Smrgcat confdefs.h >>conftest.$ac_ext 399850718ea6Smrgcat >>conftest.$ac_ext <<_ACEOF 399950718ea6Smrg/* end confdefs.h. */ 400050718ea6Smrg#include <ctype.h> 400150718ea6Smrg#include <stdlib.h> 400250718ea6Smrg#if ((' ' & 0x0FF) == 0x020) 400350718ea6Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 400450718ea6Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 400550718ea6Smrg#else 400650718ea6Smrg# define ISLOWER(c) \ 400750718ea6Smrg (('a' <= (c) && (c) <= 'i') \ 400850718ea6Smrg || ('j' <= (c) && (c) <= 'r') \ 400950718ea6Smrg || ('s' <= (c) && (c) <= 'z')) 401050718ea6Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 401150718ea6Smrg#endif 401250718ea6Smrg 401350718ea6Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 401450718ea6Smrgint 401550718ea6Smrgmain () 401650718ea6Smrg{ 401750718ea6Smrg int i; 401850718ea6Smrg for (i = 0; i < 256; i++) 401950718ea6Smrg if (XOR (islower (i), ISLOWER (i)) 402050718ea6Smrg || toupper (i) != TOUPPER (i)) 402150718ea6Smrg return 2; 402250718ea6Smrg return 0; 402350718ea6Smrg} 402450718ea6Smrg_ACEOF 402550718ea6Smrgrm -f conftest$ac_exeext 402650718ea6Smrgif { (ac_try="$ac_link" 402750718ea6Smrgcase "(($ac_try" in 402850718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 402950718ea6Smrg *) ac_try_echo=$ac_try;; 403050718ea6Smrgesac 403150718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 403250718ea6Smrg$as_echo "$ac_try_echo") >&5 403350718ea6Smrg (eval "$ac_link") 2>&5 403450718ea6Smrg ac_status=$? 403550718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 403650718ea6Smrg (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 403750718ea6Smrg { (case "(($ac_try" in 403850718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 403950718ea6Smrg *) ac_try_echo=$ac_try;; 404050718ea6Smrgesac 404150718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 404250718ea6Smrg$as_echo "$ac_try_echo") >&5 404350718ea6Smrg (eval "$ac_try") 2>&5 404450718ea6Smrg ac_status=$? 404550718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 404650718ea6Smrg (exit $ac_status); }; }; then 404750718ea6Smrg : 404850718ea6Smrgelse 404950718ea6Smrg $as_echo "$as_me: program exited with status $ac_status" >&5 405050718ea6Smrg$as_echo "$as_me: failed program was:" >&5 405150718ea6Smrgsed 's/^/| /' conftest.$ac_ext >&5 405250718ea6Smrg 405350718ea6Smrg( exit $ac_status ) 405450718ea6Smrgac_cv_header_stdc=no 405550718ea6Smrgfi 405650718ea6Smrgrm -rf conftest.dSYM 405750718ea6Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 405850718ea6Smrgfi 405950718ea6Smrg 406050718ea6Smrg 406150718ea6Smrgfi 406250718ea6Smrgfi 406350718ea6Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 406450718ea6Smrg$as_echo "$ac_cv_header_stdc" >&6; } 406550718ea6Smrgif test $ac_cv_header_stdc = yes; then 406650718ea6Smrg 406750718ea6Smrgcat >>confdefs.h <<\_ACEOF 406850718ea6Smrg#define STDC_HEADERS 1 406950718ea6Smrg_ACEOF 407050718ea6Smrg 407150718ea6Smrgfi 407250718ea6Smrg 407350718ea6Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 407450718ea6Smrg 407550718ea6Smrg 407650718ea6Smrg 407750718ea6Smrg 407850718ea6Smrg 407950718ea6Smrg 408050718ea6Smrg 408150718ea6Smrg 408250718ea6Smrg 408350718ea6Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 408450718ea6Smrg inttypes.h stdint.h unistd.h 408550718ea6Smrgdo 408650718ea6Smrgas_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 408750718ea6Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 408850718ea6Smrg$as_echo_n "checking for $ac_header... " >&6; } 408950718ea6Smrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 409050718ea6Smrg $as_echo_n "(cached) " >&6 409150718ea6Smrgelse 409250718ea6Smrg cat >conftest.$ac_ext <<_ACEOF 409350718ea6Smrg/* confdefs.h. */ 409450718ea6Smrg_ACEOF 409550718ea6Smrgcat confdefs.h >>conftest.$ac_ext 409650718ea6Smrgcat >>conftest.$ac_ext <<_ACEOF 409750718ea6Smrg/* end confdefs.h. */ 409850718ea6Smrg$ac_includes_default 409950718ea6Smrg 410050718ea6Smrg#include <$ac_header> 410150718ea6Smrg_ACEOF 410250718ea6Smrgrm -f conftest.$ac_objext 410350718ea6Smrgif { (ac_try="$ac_compile" 410450718ea6Smrgcase "(($ac_try" in 410550718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 410650718ea6Smrg *) ac_try_echo=$ac_try;; 410750718ea6Smrgesac 410850718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 410950718ea6Smrg$as_echo "$ac_try_echo") >&5 411050718ea6Smrg (eval "$ac_compile") 2>conftest.er1 411150718ea6Smrg ac_status=$? 411250718ea6Smrg grep -v '^ *+' conftest.er1 >conftest.err 411350718ea6Smrg rm -f conftest.er1 411450718ea6Smrg cat conftest.err >&5 411550718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 411650718ea6Smrg (exit $ac_status); } && { 411750718ea6Smrg test -z "$ac_c_werror_flag" || 411850718ea6Smrg test ! -s conftest.err 411950718ea6Smrg } && test -s conftest.$ac_objext; then 412050718ea6Smrg eval "$as_ac_Header=yes" 412150718ea6Smrgelse 412250718ea6Smrg $as_echo "$as_me: failed program was:" >&5 412350718ea6Smrgsed 's/^/| /' conftest.$ac_ext >&5 412450718ea6Smrg 412550718ea6Smrg eval "$as_ac_Header=no" 412650718ea6Smrgfi 412750718ea6Smrg 412850718ea6Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 412950718ea6Smrgfi 413050718ea6Smrgac_res=`eval 'as_val=${'$as_ac_Header'} 413150718ea6Smrg $as_echo "$as_val"'` 413250718ea6Smrg { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 413350718ea6Smrg$as_echo "$ac_res" >&6; } 413450718ea6Smrgas_val=`eval 'as_val=${'$as_ac_Header'} 413550718ea6Smrg $as_echo "$as_val"'` 413650718ea6Smrg if test "x$as_val" = x""yes; then 413750718ea6Smrg cat >>confdefs.h <<_ACEOF 413850718ea6Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 413950718ea6Smrg_ACEOF 414050718ea6Smrg 414150718ea6Smrgfi 414250718ea6Smrg 414350718ea6Smrgdone 414450718ea6Smrg 414550718ea6Smrg 414650718ea6Smrg { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 414750718ea6Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 414850718ea6Smrgif test "${ac_cv_prog_cc_c99+set}" = set; then 414950718ea6Smrg $as_echo_n "(cached) " >&6 415050718ea6Smrgelse 415150718ea6Smrg ac_cv_prog_cc_c99=no 415250718ea6Smrgac_save_CC=$CC 415350718ea6Smrgcat >conftest.$ac_ext <<_ACEOF 415450718ea6Smrg/* confdefs.h. */ 415550718ea6Smrg_ACEOF 415650718ea6Smrgcat confdefs.h >>conftest.$ac_ext 415750718ea6Smrgcat >>conftest.$ac_ext <<_ACEOF 415850718ea6Smrg/* end confdefs.h. */ 415950718ea6Smrg#include <stdarg.h> 416050718ea6Smrg#include <stdbool.h> 416150718ea6Smrg#include <stdlib.h> 416250718ea6Smrg#include <wchar.h> 416350718ea6Smrg#include <stdio.h> 416450718ea6Smrg 416550718ea6Smrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 416650718ea6Smrg#define debug(...) fprintf (stderr, __VA_ARGS__) 416750718ea6Smrg#define showlist(...) puts (#__VA_ARGS__) 416850718ea6Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 416950718ea6Smrgstatic void 417050718ea6Smrgtest_varargs_macros (void) 417150718ea6Smrg{ 417250718ea6Smrg int x = 1234; 417350718ea6Smrg int y = 5678; 417450718ea6Smrg debug ("Flag"); 417550718ea6Smrg debug ("X = %d\n", x); 417650718ea6Smrg showlist (The first, second, and third items.); 417750718ea6Smrg report (x>y, "x is %d but y is %d", x, y); 417850718ea6Smrg} 417950718ea6Smrg 418050718ea6Smrg// Check long long types. 418150718ea6Smrg#define BIG64 18446744073709551615ull 418250718ea6Smrg#define BIG32 4294967295ul 418350718ea6Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 418450718ea6Smrg#if !BIG_OK 418550718ea6Smrg your preprocessor is broken; 418650718ea6Smrg#endif 418750718ea6Smrg#if BIG_OK 418850718ea6Smrg#else 418950718ea6Smrg your preprocessor is broken; 419050718ea6Smrg#endif 419150718ea6Smrgstatic long long int bignum = -9223372036854775807LL; 419250718ea6Smrgstatic unsigned long long int ubignum = BIG64; 419350718ea6Smrg 419450718ea6Smrgstruct incomplete_array 419550718ea6Smrg{ 419650718ea6Smrg int datasize; 419750718ea6Smrg double data[]; 419850718ea6Smrg}; 419950718ea6Smrg 420050718ea6Smrgstruct named_init { 420150718ea6Smrg int number; 420250718ea6Smrg const wchar_t *name; 420350718ea6Smrg double average; 420450718ea6Smrg}; 420550718ea6Smrg 420650718ea6Smrgtypedef const char *ccp; 420750718ea6Smrg 420850718ea6Smrgstatic inline int 420950718ea6Smrgtest_restrict (ccp restrict text) 421050718ea6Smrg{ 421150718ea6Smrg // See if C++-style comments work. 421250718ea6Smrg // Iterate through items via the restricted pointer. 421350718ea6Smrg // Also check for declarations in for loops. 421450718ea6Smrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 421550718ea6Smrg continue; 421650718ea6Smrg return 0; 421750718ea6Smrg} 421850718ea6Smrg 421950718ea6Smrg// Check varargs and va_copy. 422050718ea6Smrgstatic void 422150718ea6Smrgtest_varargs (const char *format, ...) 422250718ea6Smrg{ 422350718ea6Smrg va_list args; 422450718ea6Smrg va_start (args, format); 422550718ea6Smrg va_list args_copy; 422650718ea6Smrg va_copy (args_copy, args); 422750718ea6Smrg 422850718ea6Smrg const char *str; 422950718ea6Smrg int number; 423050718ea6Smrg float fnumber; 423150718ea6Smrg 423250718ea6Smrg while (*format) 423350718ea6Smrg { 423450718ea6Smrg switch (*format++) 423550718ea6Smrg { 423650718ea6Smrg case 's': // string 423750718ea6Smrg str = va_arg (args_copy, const char *); 423850718ea6Smrg break; 423950718ea6Smrg case 'd': // int 424050718ea6Smrg number = va_arg (args_copy, int); 424150718ea6Smrg break; 424250718ea6Smrg case 'f': // float 424350718ea6Smrg fnumber = va_arg (args_copy, double); 424450718ea6Smrg break; 424550718ea6Smrg default: 424650718ea6Smrg break; 424750718ea6Smrg } 424850718ea6Smrg } 424950718ea6Smrg va_end (args_copy); 425050718ea6Smrg va_end (args); 425150718ea6Smrg} 425250718ea6Smrg 425350718ea6Smrgint 425450718ea6Smrgmain () 425550718ea6Smrg{ 425650718ea6Smrg 425750718ea6Smrg // Check bool. 425850718ea6Smrg _Bool success = false; 425950718ea6Smrg 426050718ea6Smrg // Check restrict. 426150718ea6Smrg if (test_restrict ("String literal") == 0) 426250718ea6Smrg success = true; 426350718ea6Smrg char *restrict newvar = "Another string"; 426450718ea6Smrg 426550718ea6Smrg // Check varargs. 426650718ea6Smrg test_varargs ("s, d' f .", "string", 65, 34.234); 426750718ea6Smrg test_varargs_macros (); 426850718ea6Smrg 426950718ea6Smrg // Check flexible array members. 427050718ea6Smrg struct incomplete_array *ia = 427150718ea6Smrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 427250718ea6Smrg ia->datasize = 10; 427350718ea6Smrg for (int i = 0; i < ia->datasize; ++i) 427450718ea6Smrg ia->data[i] = i * 1.234; 427550718ea6Smrg 427650718ea6Smrg // Check named initializers. 427750718ea6Smrg struct named_init ni = { 427850718ea6Smrg .number = 34, 427950718ea6Smrg .name = L"Test wide string", 428050718ea6Smrg .average = 543.34343, 428150718ea6Smrg }; 428250718ea6Smrg 428350718ea6Smrg ni.number = 58; 428450718ea6Smrg 428550718ea6Smrg int dynamic_array[ni.number]; 428650718ea6Smrg dynamic_array[ni.number - 1] = 543; 428750718ea6Smrg 428850718ea6Smrg // work around unused variable warnings 428950718ea6Smrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 429050718ea6Smrg || dynamic_array[ni.number - 1] != 543); 429150718ea6Smrg 429250718ea6Smrg ; 429350718ea6Smrg return 0; 429450718ea6Smrg} 429550718ea6Smrg_ACEOF 429650718ea6Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 429750718ea6Smrgdo 429850718ea6Smrg CC="$ac_save_CC $ac_arg" 429950718ea6Smrg rm -f conftest.$ac_objext 430050718ea6Smrgif { (ac_try="$ac_compile" 430150718ea6Smrgcase "(($ac_try" in 430250718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 430350718ea6Smrg *) ac_try_echo=$ac_try;; 430450718ea6Smrgesac 430550718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 430650718ea6Smrg$as_echo "$ac_try_echo") >&5 430750718ea6Smrg (eval "$ac_compile") 2>conftest.er1 430850718ea6Smrg ac_status=$? 430950718ea6Smrg grep -v '^ *+' conftest.er1 >conftest.err 431050718ea6Smrg rm -f conftest.er1 431150718ea6Smrg cat conftest.err >&5 431250718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 431350718ea6Smrg (exit $ac_status); } && { 431450718ea6Smrg test -z "$ac_c_werror_flag" || 431550718ea6Smrg test ! -s conftest.err 431650718ea6Smrg } && test -s conftest.$ac_objext; then 431750718ea6Smrg ac_cv_prog_cc_c99=$ac_arg 431850718ea6Smrgelse 431950718ea6Smrg $as_echo "$as_me: failed program was:" >&5 432050718ea6Smrgsed 's/^/| /' conftest.$ac_ext >&5 432150718ea6Smrg 432250718ea6Smrg 432350718ea6Smrgfi 432450718ea6Smrg 432550718ea6Smrgrm -f core conftest.err conftest.$ac_objext 432650718ea6Smrg test "x$ac_cv_prog_cc_c99" != "xno" && break 432750718ea6Smrgdone 432850718ea6Smrgrm -f conftest.$ac_ext 432950718ea6SmrgCC=$ac_save_CC 433050718ea6Smrg 433150718ea6Smrgfi 433250718ea6Smrg# AC_CACHE_VAL 433350718ea6Smrgcase "x$ac_cv_prog_cc_c99" in 433450718ea6Smrg x) 433550718ea6Smrg { $as_echo "$as_me:$LINENO: result: none needed" >&5 433650718ea6Smrg$as_echo "none needed" >&6; } ;; 433750718ea6Smrg xno) 433850718ea6Smrg { $as_echo "$as_me:$LINENO: result: unsupported" >&5 433950718ea6Smrg$as_echo "unsupported" >&6; } ;; 434050718ea6Smrg *) 434150718ea6Smrg CC="$CC $ac_cv_prog_cc_c99" 434250718ea6Smrg { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 434350718ea6Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 434450718ea6Smrgesac 434550718ea6Smrg 434650718ea6Smrg 434750718ea6Smrg 434850718ea6Smrg# Make sure we can run config.sub. 434950718ea6Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 435050718ea6Smrg { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 435150718ea6Smrg$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 435250718ea6Smrg { (exit 1); exit 1; }; } 435350718ea6Smrg 435450718ea6Smrg{ $as_echo "$as_me:$LINENO: checking build system type" >&5 435550718ea6Smrg$as_echo_n "checking build system type... " >&6; } 435650718ea6Smrgif test "${ac_cv_build+set}" = set; then 435750718ea6Smrg $as_echo_n "(cached) " >&6 435850718ea6Smrgelse 435950718ea6Smrg ac_build_alias=$build_alias 436050718ea6Smrgtest "x$ac_build_alias" = x && 436150718ea6Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 436250718ea6Smrgtest "x$ac_build_alias" = x && 436350718ea6Smrg { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 436450718ea6Smrg$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 436550718ea6Smrg { (exit 1); exit 1; }; } 436650718ea6Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 436750718ea6Smrg { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 436850718ea6Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 436950718ea6Smrg { (exit 1); exit 1; }; } 437050718ea6Smrg 437150718ea6Smrgfi 437250718ea6Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 437350718ea6Smrg$as_echo "$ac_cv_build" >&6; } 437450718ea6Smrgcase $ac_cv_build in 437550718ea6Smrg*-*-*) ;; 437650718ea6Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 437750718ea6Smrg$as_echo "$as_me: error: invalid value of canonical build" >&2;} 437850718ea6Smrg { (exit 1); exit 1; }; };; 437950718ea6Smrgesac 438050718ea6Smrgbuild=$ac_cv_build 438150718ea6Smrgac_save_IFS=$IFS; IFS='-' 438250718ea6Smrgset x $ac_cv_build 438350718ea6Smrgshift 438450718ea6Smrgbuild_cpu=$1 438550718ea6Smrgbuild_vendor=$2 438650718ea6Smrgshift; shift 438750718ea6Smrg# Remember, the first character of IFS is used to create $*, 438850718ea6Smrg# except with old shells: 438950718ea6Smrgbuild_os=$* 439050718ea6SmrgIFS=$ac_save_IFS 439150718ea6Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 439250718ea6Smrg 439350718ea6Smrg 439450718ea6Smrg{ $as_echo "$as_me:$LINENO: checking host system type" >&5 439550718ea6Smrg$as_echo_n "checking host system type... " >&6; } 439650718ea6Smrgif test "${ac_cv_host+set}" = set; then 439750718ea6Smrg $as_echo_n "(cached) " >&6 439850718ea6Smrgelse 439950718ea6Smrg if test "x$host_alias" = x; then 440050718ea6Smrg ac_cv_host=$ac_cv_build 440150718ea6Smrgelse 440250718ea6Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 440350718ea6Smrg { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 440450718ea6Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 440550718ea6Smrg { (exit 1); exit 1; }; } 440650718ea6Smrgfi 440750718ea6Smrg 440850718ea6Smrgfi 440950718ea6Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 441050718ea6Smrg$as_echo "$ac_cv_host" >&6; } 441150718ea6Smrgcase $ac_cv_host in 441250718ea6Smrg*-*-*) ;; 441350718ea6Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 441450718ea6Smrg$as_echo "$as_me: error: invalid value of canonical host" >&2;} 441550718ea6Smrg { (exit 1); exit 1; }; };; 441650718ea6Smrgesac 441750718ea6Smrghost=$ac_cv_host 441850718ea6Smrgac_save_IFS=$IFS; IFS='-' 441950718ea6Smrgset x $ac_cv_host 442050718ea6Smrgshift 442150718ea6Smrghost_cpu=$1 442250718ea6Smrghost_vendor=$2 442350718ea6Smrgshift; shift 442450718ea6Smrg# Remember, the first character of IFS is used to create $*, 442550718ea6Smrg# except with old shells: 442650718ea6Smrghost_os=$* 442750718ea6SmrgIFS=$ac_save_IFS 442850718ea6Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 442950718ea6Smrg 443050718ea6Smrg 443150718ea6Smrg 443250718ea6Smrg 443350718ea6Smrg 443450718ea6Smrgif test "x$GCC" = xyes ; then 443550718ea6Smrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 443650718ea6Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 443750718ea6Smrg-Wbad-function-cast" 443850718ea6Smrg case `$CC -dumpversion` in 443950718ea6Smrg 3.4.* | 4.*) 444050718ea6Smrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 444150718ea6Smrg ;; 444250718ea6Smrg esac 444350718ea6Smrgelse 444450718ea6Smrg { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 444550718ea6Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 444650718ea6Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 444750718ea6Smrg $as_echo_n "(cached) " >&6 444850718ea6Smrgelse 444950718ea6Smrg cat >conftest.$ac_ext <<_ACEOF 445050718ea6Smrg/* confdefs.h. */ 445150718ea6Smrg_ACEOF 445250718ea6Smrgcat confdefs.h >>conftest.$ac_ext 445350718ea6Smrgcat >>conftest.$ac_ext <<_ACEOF 445450718ea6Smrg/* end confdefs.h. */ 445550718ea6Smrg$ac_includes_default 445650718ea6Smrgint 445750718ea6Smrgmain () 445850718ea6Smrg{ 445950718ea6Smrg#ifndef __SUNPRO_C 446050718ea6Smrg (void) __SUNPRO_C; 446150718ea6Smrg#endif 446250718ea6Smrg 446350718ea6Smrg ; 446450718ea6Smrg return 0; 446550718ea6Smrg} 446650718ea6Smrg_ACEOF 446750718ea6Smrgrm -f conftest.$ac_objext 446850718ea6Smrgif { (ac_try="$ac_compile" 446950718ea6Smrgcase "(($ac_try" in 447050718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 447150718ea6Smrg *) ac_try_echo=$ac_try;; 447250718ea6Smrgesac 447350718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 447450718ea6Smrg$as_echo "$ac_try_echo") >&5 447550718ea6Smrg (eval "$ac_compile") 2>conftest.er1 447650718ea6Smrg ac_status=$? 447750718ea6Smrg grep -v '^ *+' conftest.er1 >conftest.err 447850718ea6Smrg rm -f conftest.er1 447950718ea6Smrg cat conftest.err >&5 448050718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 448150718ea6Smrg (exit $ac_status); } && { 448250718ea6Smrg test -z "$ac_c_werror_flag" || 448350718ea6Smrg test ! -s conftest.err 448450718ea6Smrg } && test -s conftest.$ac_objext; then 448550718ea6Smrg ac_cv_have_decl___SUNPRO_C=yes 448650718ea6Smrgelse 448750718ea6Smrg $as_echo "$as_me: failed program was:" >&5 448850718ea6Smrgsed 's/^/| /' conftest.$ac_ext >&5 448950718ea6Smrg 449050718ea6Smrg ac_cv_have_decl___SUNPRO_C=no 449150718ea6Smrgfi 449250718ea6Smrg 449350718ea6Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 449450718ea6Smrgfi 449550718ea6Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 449650718ea6Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 449750718ea6Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 449850718ea6Smrg SUNCC="yes" 449950718ea6Smrgelse 450050718ea6Smrg SUNCC="no" 450150718ea6Smrgfi 450250718ea6Smrg 450350718ea6Smrg if test "x$SUNCC" = "xyes"; then 450450718ea6Smrg CWARNFLAGS="-v" 450550718ea6Smrg fi 450650718ea6Smrgfi 450750718ea6Smrg 450850718ea6Smrg# Check whether --enable-silent-rules was given. 450950718ea6Smrgif test "${enable_silent_rules+set}" = set; then 451050718ea6Smrg enableval=$enable_silent_rules; 451150718ea6Smrgfi 451250718ea6Smrg 451350718ea6Smrgcase $enable_silent_rules in 451450718ea6Smrgyes) AM_DEFAULT_VERBOSITY=0;; 451550718ea6Smrgno) AM_DEFAULT_VERBOSITY=1;; 451650718ea6Smrg*) AM_DEFAULT_VERBOSITY=0;; 451750718ea6Smrgesac 451850718ea6SmrgAM_BACKSLASH='\' 451950718ea6Smrg 452050718ea6Smrg 452150718ea6Smrg 452250718ea6Smrg 452350718ea6Smrg 452450718ea6Smrg 452550718ea6Smrg 452650718ea6Smrg# Check whether --enable-strict-compilation was given. 452750718ea6Smrgif test "${enable_strict_compilation+set}" = set; then 452850718ea6Smrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 452950718ea6Smrgelse 453050718ea6Smrg STRICT_COMPILE=no 453150718ea6Smrgfi 453250718ea6Smrg 453350718ea6Smrgif test "x$STRICT_COMPILE" = "xyes"; then 453450718ea6Smrg { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 453550718ea6Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 453650718ea6Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 453750718ea6Smrg $as_echo_n "(cached) " >&6 453850718ea6Smrgelse 453950718ea6Smrg cat >conftest.$ac_ext <<_ACEOF 454050718ea6Smrg/* confdefs.h. */ 454150718ea6Smrg_ACEOF 454250718ea6Smrgcat confdefs.h >>conftest.$ac_ext 454350718ea6Smrgcat >>conftest.$ac_ext <<_ACEOF 454450718ea6Smrg/* end confdefs.h. */ 454550718ea6Smrg$ac_includes_default 454650718ea6Smrgint 454750718ea6Smrgmain () 454850718ea6Smrg{ 454950718ea6Smrg#ifndef __SUNPRO_C 455050718ea6Smrg (void) __SUNPRO_C; 455150718ea6Smrg#endif 455250718ea6Smrg 455350718ea6Smrg ; 455450718ea6Smrg return 0; 455550718ea6Smrg} 455650718ea6Smrg_ACEOF 455750718ea6Smrgrm -f conftest.$ac_objext 455850718ea6Smrgif { (ac_try="$ac_compile" 455950718ea6Smrgcase "(($ac_try" in 456050718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 456150718ea6Smrg *) ac_try_echo=$ac_try;; 456250718ea6Smrgesac 456350718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 456450718ea6Smrg$as_echo "$ac_try_echo") >&5 456550718ea6Smrg (eval "$ac_compile") 2>conftest.er1 456650718ea6Smrg ac_status=$? 456750718ea6Smrg grep -v '^ *+' conftest.er1 >conftest.err 456850718ea6Smrg rm -f conftest.er1 456950718ea6Smrg cat conftest.err >&5 457050718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 457150718ea6Smrg (exit $ac_status); } && { 457250718ea6Smrg test -z "$ac_c_werror_flag" || 457350718ea6Smrg test ! -s conftest.err 457450718ea6Smrg } && test -s conftest.$ac_objext; then 457550718ea6Smrg ac_cv_have_decl___SUNPRO_C=yes 457650718ea6Smrgelse 457750718ea6Smrg $as_echo "$as_me: failed program was:" >&5 457850718ea6Smrgsed 's/^/| /' conftest.$ac_ext >&5 457950718ea6Smrg 458050718ea6Smrg ac_cv_have_decl___SUNPRO_C=no 458150718ea6Smrgfi 458250718ea6Smrg 458350718ea6Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 458450718ea6Smrgfi 458550718ea6Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 458650718ea6Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 458750718ea6Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 458850718ea6Smrg SUNCC="yes" 458950718ea6Smrgelse 459050718ea6Smrg SUNCC="no" 459150718ea6Smrgfi 459250718ea6Smrg 459350718ea6Smrg { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5 459450718ea6Smrg$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; } 459550718ea6Smrgif test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then 459650718ea6Smrg $as_echo_n "(cached) " >&6 459750718ea6Smrgelse 459850718ea6Smrg cat >conftest.$ac_ext <<_ACEOF 459950718ea6Smrg/* confdefs.h. */ 460050718ea6Smrg_ACEOF 460150718ea6Smrgcat confdefs.h >>conftest.$ac_ext 460250718ea6Smrgcat >>conftest.$ac_ext <<_ACEOF 460350718ea6Smrg/* end confdefs.h. */ 460450718ea6Smrg$ac_includes_default 460550718ea6Smrgint 460650718ea6Smrgmain () 460750718ea6Smrg{ 460850718ea6Smrg#ifndef __INTEL_COMPILER 460950718ea6Smrg (void) __INTEL_COMPILER; 461050718ea6Smrg#endif 461150718ea6Smrg 461250718ea6Smrg ; 461350718ea6Smrg return 0; 461450718ea6Smrg} 461550718ea6Smrg_ACEOF 461650718ea6Smrgrm -f conftest.$ac_objext 461750718ea6Smrgif { (ac_try="$ac_compile" 461850718ea6Smrgcase "(($ac_try" in 461950718ea6Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 462050718ea6Smrg *) ac_try_echo=$ac_try;; 462150718ea6Smrgesac 462250718ea6Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 462350718ea6Smrg$as_echo "$ac_try_echo") >&5 462450718ea6Smrg (eval "$ac_compile") 2>conftest.er1 462550718ea6Smrg ac_status=$? 462650718ea6Smrg grep -v '^ *+' conftest.er1 >conftest.err 462750718ea6Smrg rm -f conftest.er1 462850718ea6Smrg cat conftest.err >&5 462950718ea6Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 463050718ea6Smrg (exit $ac_status); } && { 463150718ea6Smrg test -z "$ac_c_werror_flag" || 463250718ea6Smrg test ! -s conftest.err 463350718ea6Smrg } && test -s conftest.$ac_objext; then 463450718ea6Smrg ac_cv_have_decl___INTEL_COMPILER=yes 463550718ea6Smrgelse 463650718ea6Smrg $as_echo "$as_me: failed program was:" >&5 463750718ea6Smrgsed 's/^/| /' conftest.$ac_ext >&5 463850718ea6Smrg 463950718ea6Smrg ac_cv_have_decl___INTEL_COMPILER=no 464050718ea6Smrgfi 464150718ea6Smrg 464250718ea6Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 464350718ea6Smrgfi 464450718ea6Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5 464550718ea6Smrg$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; } 464650718ea6Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then 464750718ea6Smrg INTELCC="yes" 464850718ea6Smrgelse 464950718ea6Smrg INTELCC="no" 465050718ea6Smrgfi 465150718ea6Smrg 465250718ea6Smrg if test "x$GCC" = xyes ; then 465350718ea6Smrg STRICT_CFLAGS="-pedantic -Werror" 465450718ea6Smrg elif test "x$SUNCC" = "xyes"; then 465550718ea6Smrg STRICT_CFLAGS="-errwarn" 465650718ea6Smrg elif test "x$INTELCC" = "xyes"; then 465750718ea6Smrg STRICT_CFLAGS="-Werror" 465850718ea6Smrg fi 465950718ea6Smrgfi 466050718ea6SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 466150718ea6Smrg 466250718ea6Smrg 466350718ea6Smrg 466450718ea6Smrg 466550718ea6Smrg# Check whether --with-release-version was given. 466650718ea6Smrgif test "${with_release_version+set}" = set; then 466750718ea6Smrg withval=$with_release_version; RELEASE_VERSION="$withval" 4668566738d7Smrgelse 4669566738d7Smrg RELEASE_VERSION="" 467050718ea6Smrgfi 467150718ea6Smrg 4672566738d7Smrg if test "x$RELEASE_VERSION" != "x"; then 4673566738d7Smrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 4674566738d7Smrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 467550718ea6Smrg { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 467650718ea6Smrg$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;} 467750718ea6Smrg fi 467850718ea6Smrg 467950718ea6Smrgcat >>confdefs.h <<_ACEOF 468050718ea6Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 468150718ea6Smrg_ACEOF 468250718ea6Smrg 468350718ea6Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 468450718ea6Smrg if test "x$PVM" = "x"; then 468550718ea6Smrg PVM="0" 468650718ea6Smrg fi 468750718ea6Smrg 468850718ea6Smrgcat >>confdefs.h <<_ACEOF 468950718ea6Smrg#define PACKAGE_VERSION_MINOR $PVM 469050718ea6Smrg_ACEOF 469150718ea6Smrg 469250718ea6Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 469350718ea6Smrg if test "x$PVP" = "x"; then 469450718ea6Smrg PVP="0" 4695566738d7Smrg fi 4696566738d7Smrg 469750718ea6Smrgcat >>confdefs.h <<_ACEOF 469850718ea6Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 469950718ea6Smrg_ACEOF 470050718ea6Smrg 470150718ea6Smrg 470250718ea6Smrg 470350718ea6SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \ 470450718ea6Smrgmv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \ 470550718ea6Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 470650718ea6Smrg 470750718ea6Smrgdistcleancheck_listfiles='find . -type f ! -name ChangeLog -print' 470850718ea6Smrg 470950718ea6Smrg 471050718ea6Smrg 471150718ea6Smrg 471250718ea6Smrg 471350718ea6Smrgif test x$APP_MAN_SUFFIX = x ; then 471450718ea6Smrg APP_MAN_SUFFIX=1 471550718ea6Smrgfi 471650718ea6Smrgif test x$APP_MAN_DIR = x ; then 471750718ea6Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 471850718ea6Smrgfi 471950718ea6Smrg 472050718ea6Smrgif test x$LIB_MAN_SUFFIX = x ; then 472150718ea6Smrg LIB_MAN_SUFFIX=3 472250718ea6Smrgfi 472350718ea6Smrgif test x$LIB_MAN_DIR = x ; then 472450718ea6Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 472550718ea6Smrgfi 472650718ea6Smrg 472750718ea6Smrgif test x$FILE_MAN_SUFFIX = x ; then 472850718ea6Smrg case $host_os in 472950718ea6Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 473050718ea6Smrg *) FILE_MAN_SUFFIX=5 ;; 473150718ea6Smrg esac 473250718ea6Smrgfi 473350718ea6Smrgif test x$FILE_MAN_DIR = x ; then 473450718ea6Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 473550718ea6Smrgfi 473650718ea6Smrg 473750718ea6Smrgif test x$MISC_MAN_SUFFIX = x ; then 473850718ea6Smrg case $host_os in 473950718ea6Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 474050718ea6Smrg *) MISC_MAN_SUFFIX=7 ;; 474150718ea6Smrg esac 474250718ea6Smrgfi 474350718ea6Smrgif test x$MISC_MAN_DIR = x ; then 474450718ea6Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 474550718ea6Smrgfi 474650718ea6Smrg 474750718ea6Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 474850718ea6Smrg case $host_os in 474950718ea6Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 475050718ea6Smrg *) DRIVER_MAN_SUFFIX=4 ;; 475150718ea6Smrg esac 475250718ea6Smrgfi 475350718ea6Smrgif test x$DRIVER_MAN_DIR = x ; then 475450718ea6Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 475550718ea6Smrgfi 475650718ea6Smrg 475750718ea6Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 475850718ea6Smrg case $host_os in 475950718ea6Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 476050718ea6Smrg *) ADMIN_MAN_SUFFIX=8 ;; 476150718ea6Smrg esac 476250718ea6Smrgfi 476350718ea6Smrgif test x$ADMIN_MAN_DIR = x ; then 476450718ea6Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 476550718ea6Smrgfi 476650718ea6Smrg 476750718ea6Smrg 476850718ea6Smrg 476950718ea6Smrg 477050718ea6Smrg 477150718ea6Smrg 477250718ea6Smrg 477350718ea6Smrg 477450718ea6Smrg 477550718ea6Smrg 477650718ea6Smrg 477750718ea6Smrg 477850718ea6Smrg 477950718ea6Smrg 478050718ea6Smrg 478150718ea6Smrg 478250718ea6Smrg 478350718ea6Smrgac_config_files="$ac_config_files Makefile xproxymngproto.pc" 4784566738d7Smrg 4785566738d7Smrgcat >confcache <<\_ACEOF 4786566738d7Smrg# This file is a shell script that caches the results of configure 4787566738d7Smrg# tests run on this system so they can be shared between configure 4788566738d7Smrg# scripts and configure runs, see configure's option --config-cache. 4789566738d7Smrg# It is not useful on other systems. If it contains results you don't 4790566738d7Smrg# want to keep, you may remove or edit it. 4791566738d7Smrg# 4792566738d7Smrg# config.status only pays attention to the cache file if you give it 4793566738d7Smrg# the --recheck option to rerun configure. 4794566738d7Smrg# 4795566738d7Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 4796566738d7Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 4797566738d7Smrg# following values. 4798566738d7Smrg 4799566738d7Smrg_ACEOF 4800566738d7Smrg 4801566738d7Smrg# The following way of writing the cache mishandles newlines in values, 4802566738d7Smrg# but we know of no workaround that is simple, portable, and efficient. 480350718ea6Smrg# So, we kill variables containing newlines. 4804566738d7Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 4805566738d7Smrg# and sets the high bit in the cache file unless we assign to the vars. 480650718ea6Smrg( 480750718ea6Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 480850718ea6Smrg eval ac_val=\$$ac_var 480950718ea6Smrg case $ac_val in #( 481050718ea6Smrg *${as_nl}*) 481150718ea6Smrg case $ac_var in #( 481250718ea6Smrg *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 481350718ea6Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 481450718ea6Smrg esac 481550718ea6Smrg case $ac_var in #( 481650718ea6Smrg _ | IFS | as_nl) ;; #( 481750718ea6Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 481850718ea6Smrg *) $as_unset $ac_var ;; 481950718ea6Smrg esac ;; 482050718ea6Smrg esac 482150718ea6Smrg done 482250718ea6Smrg 4823566738d7Smrg (set) 2>&1 | 482450718ea6Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 482550718ea6Smrg *${as_nl}ac_space=\ *) 4826566738d7Smrg # `set' does not quote correctly, so add quotes (double-quote 4827566738d7Smrg # substitution turns \\\\ into \\, and sed turns \\ into \). 4828566738d7Smrg sed -n \ 4829566738d7Smrg "s/'/'\\\\''/g; 4830566738d7Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 483150718ea6Smrg ;; #( 4832566738d7Smrg *) 4833566738d7Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 483450718ea6Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4835566738d7Smrg ;; 483650718ea6Smrg esac | 483750718ea6Smrg sort 483850718ea6Smrg) | 4839566738d7Smrg sed ' 484050718ea6Smrg /^ac_cv_env_/b end 4841566738d7Smrg t clear 484250718ea6Smrg :clear 4843566738d7Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4844566738d7Smrg t end 484550718ea6Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 484650718ea6Smrg :end' >>confcache 484750718ea6Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 484850718ea6Smrg if test -w "$cache_file"; then 484950718ea6Smrg test "x$cache_file" != "x/dev/null" && 485050718ea6Smrg { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 485150718ea6Smrg$as_echo "$as_me: updating cache $cache_file" >&6;} 4852566738d7Smrg cat confcache >$cache_file 4853566738d7Smrg else 485450718ea6Smrg { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 485550718ea6Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4856566738d7Smrg fi 4857566738d7Smrgfi 4858566738d7Smrgrm -f confcache 4859566738d7Smrg 4860566738d7Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 4861566738d7Smrg# Let make expand exec_prefix. 4862566738d7Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4863566738d7Smrg 4864566738d7Smrg# Transform confdefs.h into DEFS. 4865566738d7Smrg# Protect against shell expansion while executing Makefile rules. 4866566738d7Smrg# Protect against Makefile macro expansion. 4867566738d7Smrg# 4868566738d7Smrg# If the first sed substitution is executed (which looks for macros that 486950718ea6Smrg# take arguments), then branch to the quote section. Otherwise, 4870566738d7Smrg# look for a macro that doesn't take arguments. 487150718ea6Smrgac_script=' 487250718ea6Smrg:mline 487350718ea6Smrg/\\$/{ 487450718ea6Smrg N 487550718ea6Smrg s,\\\n,, 487650718ea6Smrg b mline 487750718ea6Smrg} 4878566738d7Smrgt clear 487950718ea6Smrg:clear 488050718ea6Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 4881566738d7Smrgt quote 488250718ea6Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 4883566738d7Smrgt quote 488450718ea6Smrgb any 488550718ea6Smrg:quote 488650718ea6Smrgs/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 488750718ea6Smrgs/\[/\\&/g 488850718ea6Smrgs/\]/\\&/g 488950718ea6Smrgs/\$/$$/g 489050718ea6SmrgH 489150718ea6Smrg:any 489250718ea6Smrg${ 489350718ea6Smrg g 489450718ea6Smrg s/^\n// 489550718ea6Smrg s/\n/ /g 489650718ea6Smrg p 489750718ea6Smrg} 489850718ea6Smrg' 489950718ea6SmrgDEFS=`sed -n "$ac_script" confdefs.h` 4900566738d7Smrg 4901566738d7Smrg 4902566738d7Smrgac_libobjs= 4903566738d7Smrgac_ltlibobjs= 4904566738d7Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4905566738d7Smrg # 1. Remove the extension, and $U if already installed. 490650718ea6Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 490750718ea6Smrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 490850718ea6Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 490950718ea6Smrg # will be set to the directory where LIBOBJS objects are built. 491050718ea6Smrg ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 491150718ea6Smrg ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 4912566738d7Smrgdone 4913566738d7SmrgLIBOBJS=$ac_libobjs 4914566738d7Smrg 4915566738d7SmrgLTLIBOBJS=$ac_ltlibobjs 4916566738d7Smrg 4917566738d7Smrg 491850718ea6Smrg if test -n "$EXEEXT"; then 491950718ea6Smrg am__EXEEXT_TRUE= 492050718ea6Smrg am__EXEEXT_FALSE='#' 492150718ea6Smrgelse 492250718ea6Smrg am__EXEEXT_TRUE='#' 492350718ea6Smrg am__EXEEXT_FALSE= 492450718ea6Smrgfi 492550718ea6Smrg 492650718ea6Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 492750718ea6Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 492850718ea6SmrgUsually this means the macro was only invoked conditionally." >&5 492950718ea6Smrg$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 493050718ea6SmrgUsually this means the macro was only invoked conditionally." >&2;} 493150718ea6Smrg { (exit 1); exit 1; }; } 493250718ea6Smrgfi 493350718ea6Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 493450718ea6Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 493550718ea6SmrgUsually this means the macro was only invoked conditionally." >&5 493650718ea6Smrg$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 493750718ea6SmrgUsually this means the macro was only invoked conditionally." >&2;} 493850718ea6Smrg { (exit 1); exit 1; }; } 493950718ea6Smrgfi 4940566738d7Smrg 4941566738d7Smrg: ${CONFIG_STATUS=./config.status} 494250718ea6Smrgac_write_fail=0 4943566738d7Smrgac_clean_files_save=$ac_clean_files 4944566738d7Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 494550718ea6Smrg{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 494650718ea6Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 494750718ea6Smrgcat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4948566738d7Smrg#! $SHELL 4949566738d7Smrg# Generated by $as_me. 4950566738d7Smrg# Run this file to recreate the current configuration. 4951566738d7Smrg# Compiler output produced by configure, useful for debugging 4952566738d7Smrg# configure, is in config.log if it exists. 4953566738d7Smrg 4954566738d7Smrgdebug=false 4955566738d7Smrgac_cs_recheck=false 4956566738d7Smrgac_cs_silent=false 4957566738d7SmrgSHELL=\${CONFIG_SHELL-$SHELL} 4958566738d7Smrg_ACEOF 4959566738d7Smrg 496050718ea6Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4961566738d7Smrg## --------------------- ## 4962566738d7Smrg## M4sh Initialization. ## 4963566738d7Smrg## --------------------- ## 4964566738d7Smrg 496550718ea6Smrg# Be more Bourne compatible 496650718ea6SmrgDUALCASE=1; export DUALCASE # for MKS sh 4967566738d7Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 4968566738d7Smrg emulate sh 4969566738d7Smrg NULLCMD=: 497050718ea6Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4971566738d7Smrg # is contrary to our usage. Disable this feature. 4972566738d7Smrg alias -g '${1+"$@"}'='"$@"' 497350718ea6Smrg setopt NO_GLOB_SUBST 497450718ea6Smrgelse 497550718ea6Smrg case `(set -o) 2>/dev/null` in 497650718ea6Smrg *posix*) set -o posix ;; 497750718ea6Smrgesac 497850718ea6Smrg 497950718ea6Smrgfi 498050718ea6Smrg 498150718ea6Smrg 498250718ea6Smrg 498350718ea6Smrg 498450718ea6Smrg# PATH needs CR 498550718ea6Smrg# Avoid depending upon Character Ranges. 498650718ea6Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 498750718ea6Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 498850718ea6Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 498950718ea6Smrgas_cr_digits='0123456789' 499050718ea6Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 499150718ea6Smrg 499250718ea6Smrgas_nl=' 499350718ea6Smrg' 499450718ea6Smrgexport as_nl 499550718ea6Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 499650718ea6Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 499750718ea6Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 499850718ea6Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 499950718ea6Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 500050718ea6Smrg as_echo='printf %s\n' 500150718ea6Smrg as_echo_n='printf %s' 500250718ea6Smrgelse 500350718ea6Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 500450718ea6Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 500550718ea6Smrg as_echo_n='/usr/ucb/echo -n' 500650718ea6Smrg else 500750718ea6Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 500850718ea6Smrg as_echo_n_body='eval 500950718ea6Smrg arg=$1; 501050718ea6Smrg case $arg in 501150718ea6Smrg *"$as_nl"*) 501250718ea6Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 501350718ea6Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 501450718ea6Smrg esac; 501550718ea6Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 501650718ea6Smrg ' 501750718ea6Smrg export as_echo_n_body 501850718ea6Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 501950718ea6Smrg fi 502050718ea6Smrg export as_echo_body 502150718ea6Smrg as_echo='sh -c $as_echo_body as_echo' 502250718ea6Smrgfi 502350718ea6Smrg 502450718ea6Smrg# The user is always right. 502550718ea6Smrgif test "${PATH_SEPARATOR+set}" != set; then 502650718ea6Smrg PATH_SEPARATOR=: 502750718ea6Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 502850718ea6Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 502950718ea6Smrg PATH_SEPARATOR=';' 503050718ea6Smrg } 5031566738d7Smrgfi 5032566738d7Smrg 5033566738d7Smrg# Support unset when possible. 5034566738d7Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5035566738d7Smrg as_unset=unset 5036566738d7Smrgelse 5037566738d7Smrg as_unset=false 5038566738d7Smrgfi 5039566738d7Smrg 5040566738d7Smrg 504150718ea6Smrg# IFS 504250718ea6Smrg# We need space, tab and new line, in precisely that order. Quoting is 504350718ea6Smrg# there to prevent editors from complaining about space-tab. 504450718ea6Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 504550718ea6Smrg# splitting by setting IFS to empty value.) 504650718ea6SmrgIFS=" "" $as_nl" 504750718ea6Smrg 504850718ea6Smrg# Find who we are. Look in the path if we contain no directory separator. 504950718ea6Smrgcase $0 in 505050718ea6Smrg *[\\/]* ) as_myself=$0 ;; 505150718ea6Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 505250718ea6Smrgfor as_dir in $PATH 505350718ea6Smrgdo 505450718ea6Smrg IFS=$as_save_IFS 505550718ea6Smrg test -z "$as_dir" && as_dir=. 505650718ea6Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 505750718ea6Smrgdone 505850718ea6SmrgIFS=$as_save_IFS 505950718ea6Smrg 506050718ea6Smrg ;; 506150718ea6Smrgesac 506250718ea6Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 506350718ea6Smrg# in which case we are not to be found in the path. 506450718ea6Smrgif test "x$as_myself" = x; then 506550718ea6Smrg as_myself=$0 506650718ea6Smrgfi 506750718ea6Smrgif test ! -f "$as_myself"; then 506850718ea6Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 506950718ea6Smrg { (exit 1); exit 1; } 507050718ea6Smrgfi 507150718ea6Smrg 5072566738d7Smrg# Work around bugs in pre-3.0 UWIN ksh. 507350718ea6Smrgfor as_var in ENV MAIL MAILPATH 507450718ea6Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 507550718ea6Smrgdone 5076566738d7SmrgPS1='$ ' 5077566738d7SmrgPS2='> ' 5078566738d7SmrgPS4='+ ' 5079566738d7Smrg 5080566738d7Smrg# NLS nuisances. 508150718ea6SmrgLC_ALL=C 508250718ea6Smrgexport LC_ALL 508350718ea6SmrgLANGUAGE=C 508450718ea6Smrgexport LANGUAGE 5085566738d7Smrg 5086566738d7Smrg# Required to use basename. 508750718ea6Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 508850718ea6Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5089566738d7Smrg as_expr=expr 5090566738d7Smrgelse 5091566738d7Smrg as_expr=false 5092566738d7Smrgfi 5093566738d7Smrg 509450718ea6Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5095566738d7Smrg as_basename=basename 5096566738d7Smrgelse 5097566738d7Smrg as_basename=false 5098566738d7Smrgfi 5099566738d7Smrg 5100566738d7Smrg 5101566738d7Smrg# Name of the executable. 510250718ea6Smrgas_me=`$as_basename -- "$0" || 5103566738d7Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5104566738d7Smrg X"$0" : 'X\(//\)$' \| \ 510550718ea6Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 510650718ea6Smrg$as_echo X/"$0" | 510750718ea6Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 510850718ea6Smrg s//\1/ 510950718ea6Smrg q 511050718ea6Smrg } 511150718ea6Smrg /^X\/\(\/\/\)$/{ 511250718ea6Smrg s//\1/ 511350718ea6Smrg q 511450718ea6Smrg } 511550718ea6Smrg /^X\/\(\/\).*/{ 511650718ea6Smrg s//\1/ 511750718ea6Smrg q 511850718ea6Smrg } 511950718ea6Smrg s/.*/./; q'` 5120566738d7Smrg 512150718ea6Smrg# CDPATH. 512250718ea6Smrg$as_unset CDPATH 5123566738d7Smrg 5124566738d7Smrg 5125566738d7Smrg 5126566738d7Smrg as_lineno_1=$LINENO 5127566738d7Smrg as_lineno_2=$LINENO 5128566738d7Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 512950718ea6Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 5130566738d7Smrg 5131566738d7Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 5132566738d7Smrg # uniformly replaced by the line number. The first 'sed' inserts a 513350718ea6Smrg # line-number line after each line using $LINENO; the second 'sed' 513450718ea6Smrg # does the real work. The second script uses 'N' to pair each 513550718ea6Smrg # line-number line with the line containing $LINENO, and appends 513650718ea6Smrg # trailing '-' during substitution so that $LINENO is not a special 513750718ea6Smrg # case at line end. 5138566738d7Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 513950718ea6Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 514050718ea6Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 514150718ea6Smrg sed -n ' 514250718ea6Smrg p 514350718ea6Smrg /[$]LINENO/= 514450718ea6Smrg ' <$as_myself | 5145566738d7Smrg sed ' 514650718ea6Smrg s/[$]LINENO.*/&-/ 514750718ea6Smrg t lineno 514850718ea6Smrg b 514950718ea6Smrg :lineno 5150566738d7Smrg N 515150718ea6Smrg :loop 515250718ea6Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 5153566738d7Smrg t loop 515450718ea6Smrg s/-\n.*// 5155566738d7Smrg ' >$as_me.lineno && 515650718ea6Smrg chmod +x "$as_me.lineno" || 515750718ea6Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 5158566738d7Smrg { (exit 1); exit 1; }; } 5159566738d7Smrg 5160566738d7Smrg # Don't try to exec as it changes $[0], causing all sort of problems 5161566738d7Smrg # (the dirname of $[0] is not the place where we might find the 516250718ea6Smrg # original and so on. Autoconf is especially sensitive to this). 516350718ea6Smrg . "./$as_me.lineno" 5164566738d7Smrg # Exit status is that of the last command. 5165566738d7Smrg exit 5166566738d7Smrg} 5167566738d7Smrg 5168566738d7Smrg 516950718ea6Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 517050718ea6Smrg as_dirname=dirname 517150718ea6Smrgelse 517250718ea6Smrg as_dirname=false 517350718ea6Smrgfi 5174566738d7Smrg 517550718ea6SmrgECHO_C= ECHO_N= ECHO_T= 517650718ea6Smrgcase `echo -n x` in 517750718ea6Smrg-n*) 517850718ea6Smrg case `echo 'x\c'` in 517950718ea6Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 518050718ea6Smrg *) ECHO_C='\c';; 518150718ea6Smrg esac;; 518250718ea6Smrg*) 518350718ea6Smrg ECHO_N='-n';; 518450718ea6Smrgesac 518550718ea6Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 518650718ea6Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5187566738d7Smrg as_expr=expr 5188566738d7Smrgelse 5189566738d7Smrg as_expr=false 5190566738d7Smrgfi 5191566738d7Smrg 5192566738d7Smrgrm -f conf$$ conf$$.exe conf$$.file 519350718ea6Smrgif test -d conf$$.dir; then 519450718ea6Smrg rm -f conf$$.dir/conf$$.file 519550718ea6Smrgelse 519650718ea6Smrg rm -f conf$$.dir 519750718ea6Smrg mkdir conf$$.dir 2>/dev/null 519850718ea6Smrgfi 519950718ea6Smrgif (echo >conf$$.file) 2>/dev/null; then 520050718ea6Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5201566738d7Smrg as_ln_s='ln -s' 520250718ea6Smrg # ... but there are two gotchas: 520350718ea6Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 520450718ea6Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 520550718ea6Smrg # In both cases, we have to default to `cp -p'. 520650718ea6Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 520750718ea6Smrg as_ln_s='cp -p' 520850718ea6Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 520950718ea6Smrg as_ln_s=ln 521050718ea6Smrg else 521150718ea6Smrg as_ln_s='cp -p' 5212566738d7Smrg fi 5213566738d7Smrgelse 5214566738d7Smrg as_ln_s='cp -p' 5215566738d7Smrgfi 521650718ea6Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 521750718ea6Smrgrmdir conf$$.dir 2>/dev/null 5218566738d7Smrg 5219566738d7Smrgif mkdir -p . 2>/dev/null; then 5220566738d7Smrg as_mkdir_p=: 5221566738d7Smrgelse 5222566738d7Smrg test -d ./-p && rmdir ./-p 5223566738d7Smrg as_mkdir_p=false 5224566738d7Smrgfi 5225566738d7Smrg 522650718ea6Smrgif test -x / >/dev/null 2>&1; then 522750718ea6Smrg as_test_x='test -x' 522850718ea6Smrgelse 522950718ea6Smrg if ls -dL / >/dev/null 2>&1; then 523050718ea6Smrg as_ls_L_option=L 523150718ea6Smrg else 523250718ea6Smrg as_ls_L_option= 523350718ea6Smrg fi 523450718ea6Smrg as_test_x=' 523550718ea6Smrg eval sh -c '\'' 523650718ea6Smrg if test -d "$1"; then 523750718ea6Smrg test -d "$1/."; 523850718ea6Smrg else 523950718ea6Smrg case $1 in 524050718ea6Smrg -*)set "./$1";; 524150718ea6Smrg esac; 524250718ea6Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 524350718ea6Smrg ???[sx]*):;;*)false;;esac;fi 524450718ea6Smrg '\'' sh 524550718ea6Smrg ' 524650718ea6Smrgfi 524750718ea6Smrgas_executable_p=$as_test_x 5248566738d7Smrg 5249566738d7Smrg# Sed expression to map a string onto a valid CPP name. 5250566738d7Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5251566738d7Smrg 5252566738d7Smrg# Sed expression to map a string onto a valid variable name. 5253566738d7Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5254566738d7Smrg 5255566738d7Smrg 5256566738d7Smrgexec 6>&1 5257566738d7Smrg 525850718ea6Smrg# Save the log message, to keep $[0] and so on meaningful, and to 5259566738d7Smrg# report actual input values of CONFIG_FILES etc. instead of their 526050718ea6Smrg# values after options handling. 526150718ea6Smrgac_log=" 526250718ea6SmrgThis file was extended by XProxyManagementProtocol $as_me 1.0.3, which was 526350718ea6Smrggenerated by GNU Autoconf 2.63. Invocation command line was 5264566738d7Smrg 5265566738d7Smrg CONFIG_FILES = $CONFIG_FILES 5266566738d7Smrg CONFIG_HEADERS = $CONFIG_HEADERS 5267566738d7Smrg CONFIG_LINKS = $CONFIG_LINKS 5268566738d7Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 5269566738d7Smrg $ $0 $@ 5270566738d7Smrg 527150718ea6Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 527250718ea6Smrg" 527350718ea6Smrg 5274566738d7Smrg_ACEOF 5275566738d7Smrg 527650718ea6Smrgcase $ac_config_files in *" 527750718ea6Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 527850718ea6Smrgesac 5279566738d7Smrg 5280566738d7Smrg 5281566738d7Smrg 528250718ea6Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 528350718ea6Smrg# Files that config.status was made for. 528450718ea6Smrgconfig_files="$ac_config_files" 528550718ea6Smrgconfig_commands="$ac_config_commands" 5286566738d7Smrg 528750718ea6Smrg_ACEOF 5288566738d7Smrg 528950718ea6Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5290566738d7Smrgac_cs_usage="\ 5291566738d7Smrg\`$as_me' instantiates files from templates according to the 5292566738d7Smrgcurrent configuration. 5293566738d7Smrg 529450718ea6SmrgUsage: $0 [OPTION]... [FILE]... 5295566738d7Smrg 5296566738d7Smrg -h, --help print this help, then exit 529750718ea6Smrg -V, --version print version number and configuration settings, then exit 529850718ea6Smrg -q, --quiet, --silent 529950718ea6Smrg do not print progress messages 5300566738d7Smrg -d, --debug don't remove temporary files 5301566738d7Smrg --recheck update $as_me by reconfiguring in the same conditions 530250718ea6Smrg --file=FILE[:TEMPLATE] 530350718ea6Smrg instantiate the configuration file FILE 5304566738d7Smrg 5305566738d7SmrgConfiguration files: 5306566738d7Smrg$config_files 5307566738d7Smrg 530850718ea6SmrgConfiguration commands: 530950718ea6Smrg$config_commands 531050718ea6Smrg 5311566738d7SmrgReport bugs to <bug-autoconf@gnu.org>." 5312566738d7Smrg 531350718ea6Smrg_ACEOF 531450718ea6Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5315566738d7Smrgac_cs_version="\\ 531650718ea6SmrgXProxyManagementProtocol config.status 1.0.3 531750718ea6Smrgconfigured by $0, generated by GNU Autoconf 2.63, 531850718ea6Smrg with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 5319566738d7Smrg 532050718ea6SmrgCopyright (C) 2008 Free Software Foundation, Inc. 5321566738d7SmrgThis config.status script is free software; the Free Software Foundation 5322566738d7Smrggives unlimited permission to copy, distribute and modify it." 532350718ea6Smrg 532450718ea6Smrgac_pwd='$ac_pwd' 532550718ea6Smrgsrcdir='$srcdir' 532650718ea6SmrgINSTALL='$INSTALL' 532750718ea6SmrgMKDIR_P='$MKDIR_P' 532850718ea6SmrgAWK='$AWK' 532950718ea6Smrgtest -n "\$AWK" || AWK=awk 5330566738d7Smrg_ACEOF 5331566738d7Smrg 533250718ea6Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 533350718ea6Smrg# The default lists apply if the user does not specify any file. 5334566738d7Smrgac_need_defaults=: 5335566738d7Smrgwhile test $# != 0 5336566738d7Smrgdo 5337566738d7Smrg case $1 in 5338566738d7Smrg --*=*) 533950718ea6Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 534050718ea6Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5341566738d7Smrg ac_shift=: 5342566738d7Smrg ;; 534350718ea6Smrg *) 5344566738d7Smrg ac_option=$1 5345566738d7Smrg ac_optarg=$2 5346566738d7Smrg ac_shift=shift 5347566738d7Smrg ;; 5348566738d7Smrg esac 5349566738d7Smrg 5350566738d7Smrg case $ac_option in 5351566738d7Smrg # Handling of the options. 5352566738d7Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5353566738d7Smrg ac_cs_recheck=: ;; 535450718ea6Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 535550718ea6Smrg $as_echo "$ac_cs_version"; exit ;; 535650718ea6Smrg --debug | --debu | --deb | --de | --d | -d ) 5357566738d7Smrg debug=: ;; 5358566738d7Smrg --file | --fil | --fi | --f ) 5359566738d7Smrg $ac_shift 536050718ea6Smrg case $ac_optarg in 536150718ea6Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 536250718ea6Smrg esac 536350718ea6Smrg CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 5364566738d7Smrg ac_need_defaults=false;; 536550718ea6Smrg --he | --h | --help | --hel | -h ) 536650718ea6Smrg $as_echo "$ac_cs_usage"; exit ;; 5367566738d7Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5368566738d7Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 5369566738d7Smrg ac_cs_silent=: ;; 5370566738d7Smrg 5371566738d7Smrg # This is an error. 537250718ea6Smrg -*) { $as_echo "$as_me: error: unrecognized option: $1 537350718ea6SmrgTry \`$0 --help' for more information." >&2 5374566738d7Smrg { (exit 1); exit 1; }; } ;; 5375566738d7Smrg 537650718ea6Smrg *) ac_config_targets="$ac_config_targets $1" 537750718ea6Smrg ac_need_defaults=false ;; 5378566738d7Smrg 5379566738d7Smrg esac 5380566738d7Smrg shift 5381566738d7Smrgdone 5382566738d7Smrg 5383566738d7Smrgac_configure_extra_args= 5384566738d7Smrg 5385566738d7Smrgif $ac_cs_silent; then 5386566738d7Smrg exec 6>/dev/null 5387566738d7Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 5388566738d7Smrgfi 5389566738d7Smrg 5390566738d7Smrg_ACEOF 539150718ea6Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5392566738d7Smrgif \$ac_cs_recheck; then 539350718ea6Smrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 539450718ea6Smrg shift 539550718ea6Smrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 539650718ea6Smrg CONFIG_SHELL='$SHELL' 539750718ea6Smrg export CONFIG_SHELL 539850718ea6Smrg exec "\$@" 5399566738d7Smrgfi 5400566738d7Smrg 5401566738d7Smrg_ACEOF 540250718ea6Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 540350718ea6Smrgexec 5>>config.log 540450718ea6Smrg{ 540550718ea6Smrg echo 540650718ea6Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 540750718ea6Smrg## Running $as_me. ## 540850718ea6Smrg_ASBOX 540950718ea6Smrg $as_echo "$ac_log" 541050718ea6Smrg} >&5 5411566738d7Smrg 541250718ea6Smrg_ACEOF 541350718ea6Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 541450718ea6Smrg# 541550718ea6Smrg# INIT-COMMANDS 541650718ea6Smrg# 541750718ea6SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5418566738d7Smrg 541950718ea6Smrg_ACEOF 5420566738d7Smrg 542150718ea6Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5422566738d7Smrg 542350718ea6Smrg# Handling of arguments. 5424566738d7Smrgfor ac_config_target in $ac_config_targets 5425566738d7Smrgdo 542650718ea6Smrg case $ac_config_target in 542750718ea6Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 542850718ea6Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 542950718ea6Smrg "xproxymngproto.pc") CONFIG_FILES="$CONFIG_FILES xproxymngproto.pc" ;; 543050718ea6Smrg 543150718ea6Smrg *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 543250718ea6Smrg$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 5433566738d7Smrg { (exit 1); exit 1; }; };; 5434566738d7Smrg esac 5435566738d7Smrgdone 5436566738d7Smrg 543750718ea6Smrg 5438566738d7Smrg# If the user did not use the arguments to specify the items to instantiate, 5439566738d7Smrg# then the envvar interface is used. Set only those that are not. 5440566738d7Smrg# We use the long form for the default assignment because of an extremely 5441566738d7Smrg# bizarre bug on SunOS 4.1.3. 5442566738d7Smrgif $ac_need_defaults; then 5443566738d7Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 544450718ea6Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5445566738d7Smrgfi 5446566738d7Smrg 5447566738d7Smrg# Have a temporary directory for convenience. Make it in the build tree 544850718ea6Smrg# simply because there is no reason against having it here, and in addition, 5449566738d7Smrg# creating and moving files from /tmp can sometimes cause problems. 545050718ea6Smrg# Hook for its removal unless debugging. 545150718ea6Smrg# Note that there is a small window in which the directory will not be cleaned: 545250718ea6Smrg# after its creation but before its name has been assigned to `$tmp'. 5453566738d7Smrg$debug || 5454566738d7Smrg{ 545550718ea6Smrg tmp= 545650718ea6Smrg trap 'exit_status=$? 545750718ea6Smrg { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 545850718ea6Smrg' 0 5459566738d7Smrg trap '{ (exit 1); exit 1; }' 1 2 13 15 5460566738d7Smrg} 5461566738d7Smrg# Create a (secure) tmp directory for tmp files. 5462566738d7Smrg 5463566738d7Smrg{ 546450718ea6Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5465566738d7Smrg test -n "$tmp" && test -d "$tmp" 5466566738d7Smrg} || 5467566738d7Smrg{ 546850718ea6Smrg tmp=./conf$$-$RANDOM 546950718ea6Smrg (umask 077 && mkdir "$tmp") 5470566738d7Smrg} || 5471566738d7Smrg{ 547250718ea6Smrg $as_echo "$as_me: cannot create a temporary directory in ." >&2 5473566738d7Smrg { (exit 1); exit 1; } 5474566738d7Smrg} 5475566738d7Smrg 547650718ea6Smrg# Set up the scripts for CONFIG_FILES section. 547750718ea6Smrg# No need to generate them if there are no CONFIG_FILES. 547850718ea6Smrg# This happens for instance with `./config.status config.h'. 547950718ea6Smrgif test -n "$CONFIG_FILES"; then 548050718ea6Smrg 548150718ea6Smrg 548250718ea6Smrgac_cr=' 548350718ea6Smrg' 548450718ea6Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 548550718ea6Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 548650718ea6Smrg ac_cs_awk_cr='\\r' 548750718ea6Smrgelse 548850718ea6Smrg ac_cs_awk_cr=$ac_cr 548950718ea6Smrgfi 549050718ea6Smrg 5491566738d7Smrgecho 'BEGIN {' >"$tmp/subs1.awk" && 5492566738d7Smrg_ACEOF 5493566738d7Smrg 549450718ea6Smrg 549550718ea6Smrg{ 549650718ea6Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 549750718ea6Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 549850718ea6Smrg echo "_ACEOF" 549950718ea6Smrg} >conf$$subs.sh || 550050718ea6Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 550150718ea6Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 550250718ea6Smrg { (exit 1); exit 1; }; } 550350718ea6Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 550450718ea6Smrgac_delim='%!_!# ' 550550718ea6Smrgfor ac_last_try in false false false false false :; do 550650718ea6Smrg . ./conf$$subs.sh || 550750718ea6Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 550850718ea6Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 5509566738d7Smrg { (exit 1); exit 1; }; } 551050718ea6Smrg 551150718ea6Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 551250718ea6Smrg if test $ac_delim_n = $ac_delim_num; then 551350718ea6Smrg break 551450718ea6Smrg elif $ac_last_try; then 551550718ea6Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 551650718ea6Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 551750718ea6Smrg { (exit 1); exit 1; }; } 551850718ea6Smrg else 5519566738d7Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 552050718ea6Smrg fi 552150718ea6Smrgdone 5522566738d7Smrgrm -f conf$$subs.sh 552350718ea6Smrg 552450718ea6Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5525566738d7Smrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK && 552650718ea6Smrg_ACEOF 552750718ea6Smrgsed -n ' 552850718ea6Smrgh 552950718ea6Smrgs/^/S["/; s/!.*/"]=/ 553050718ea6Smrgp 553150718ea6Smrgg 553250718ea6Smrgs/^[^!]*!// 553350718ea6Smrg:repl 553450718ea6Smrgt repl 553550718ea6Smrgs/'"$ac_delim"'$// 553650718ea6Smrgt delim 553750718ea6Smrg:nl 553850718ea6Smrgh 553950718ea6Smrgs/\(.\{148\}\).*/\1/ 554050718ea6Smrgt more1 554150718ea6Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 554250718ea6Smrgp 554350718ea6Smrgn 554450718ea6Smrgb repl 554550718ea6Smrg:more1 554650718ea6Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 554750718ea6Smrgp 554850718ea6Smrgg 554950718ea6Smrgs/.\{148\}// 555050718ea6Smrgt nl 555150718ea6Smrg:delim 555250718ea6Smrgh 555350718ea6Smrgs/\(.\{148\}\).*/\1/ 555450718ea6Smrgt more2 555550718ea6Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 555650718ea6Smrgp 555750718ea6Smrgb 555850718ea6Smrg:more2 555950718ea6Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 556050718ea6Smrgp 556150718ea6Smrgg 556250718ea6Smrgs/.\{148\}// 556350718ea6Smrgt delim 556450718ea6Smrg' <conf$$subs.awk | sed ' 556550718ea6Smrg/^[^""]/{ 556650718ea6Smrg N 556750718ea6Smrg s/\n// 556850718ea6Smrg} 556950718ea6Smrg' >>$CONFIG_STATUS || ac_write_fail=1 557050718ea6Smrgrm -f conf$$subs.awk 557150718ea6Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 557250718ea6Smrg_ACAWK 557350718ea6Smrgcat >>"\$tmp/subs1.awk" <<_ACAWK && 557450718ea6Smrg for (key in S) S_is_set[key] = 1 557550718ea6Smrg FS = "" 557650718ea6Smrg 557750718ea6Smrg} 557850718ea6Smrg{ 557950718ea6Smrg line = $ 0 558050718ea6Smrg nfields = split(line, field, "@") 558150718ea6Smrg substed = 0 558250718ea6Smrg len = length(field[1]) 558350718ea6Smrg for (i = 2; i < nfields; i++) { 558450718ea6Smrg key = field[i] 558550718ea6Smrg keylen = length(key) 558650718ea6Smrg if (S_is_set[key]) { 558750718ea6Smrg value = S[key] 558850718ea6Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 558950718ea6Smrg len += length(value) + length(field[++i]) 559050718ea6Smrg substed = 1 559150718ea6Smrg } else 559250718ea6Smrg len += 1 + keylen 559350718ea6Smrg } 559450718ea6Smrg 559550718ea6Smrg print line 559650718ea6Smrg} 559750718ea6Smrg 559850718ea6Smrg_ACAWK 559950718ea6Smrg_ACEOF 560050718ea6Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 560150718ea6Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 560250718ea6Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 560350718ea6Smrgelse 560450718ea6Smrg cat 560550718ea6Smrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 560650718ea6Smrg || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 560750718ea6Smrg$as_echo "$as_me: error: could not setup config files machinery" >&2;} 560850718ea6Smrg { (exit 1); exit 1; }; } 560950718ea6Smrg_ACEOF 561050718ea6Smrg 561150718ea6Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 561250718ea6Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 561350718ea6Smrg# trailing colons and then remove the whole line if VPATH becomes empty 561450718ea6Smrg# (actually we leave an empty line to preserve line numbers). 561550718ea6Smrgif test "x$srcdir" = x.; then 561650718ea6Smrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 561750718ea6Smrgs/:*\$(srcdir):*/:/ 561850718ea6Smrgs/:*\${srcdir}:*/:/ 561950718ea6Smrgs/:*@srcdir@:*/:/ 562050718ea6Smrgs/^\([^=]*=[ ]*\):*/\1/ 562150718ea6Smrgs/:*$// 562250718ea6Smrgs/^[^=]*=[ ]*$// 562350718ea6Smrg}' 562450718ea6Smrgfi 562550718ea6Smrg 562650718ea6Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 562750718ea6Smrgfi # test -n "$CONFIG_FILES" 562850718ea6Smrg 562950718ea6Smrg 563050718ea6Smrgeval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 563150718ea6Smrgshift 563250718ea6Smrgfor ac_tag 563350718ea6Smrgdo 563450718ea6Smrg case $ac_tag in 563550718ea6Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 563650718ea6Smrg esac 563750718ea6Smrg case $ac_mode$ac_tag in 563850718ea6Smrg :[FHL]*:*);; 563950718ea6Smrg :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 564050718ea6Smrg$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 564150718ea6Smrg { (exit 1); exit 1; }; };; 564250718ea6Smrg :[FH]-) ac_tag=-:-;; 564350718ea6Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 564450718ea6Smrg esac 564550718ea6Smrg ac_save_IFS=$IFS 564650718ea6Smrg IFS=: 564750718ea6Smrg set x $ac_tag 564850718ea6Smrg IFS=$ac_save_IFS 564950718ea6Smrg shift 565050718ea6Smrg ac_file=$1 565150718ea6Smrg shift 565250718ea6Smrg 565350718ea6Smrg case $ac_mode in 565450718ea6Smrg :L) ac_source=$1;; 565550718ea6Smrg :[FH]) 565650718ea6Smrg ac_file_inputs= 565750718ea6Smrg for ac_f 565850718ea6Smrg do 565950718ea6Smrg case $ac_f in 566050718ea6Smrg -) ac_f="$tmp/stdin";; 566150718ea6Smrg *) # Look for the file first in the build tree, then in the source tree 566250718ea6Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 566350718ea6Smrg # because $ac_f cannot contain `:'. 566450718ea6Smrg test -f "$ac_f" || 566550718ea6Smrg case $ac_f in 566650718ea6Smrg [\\/$]*) false;; 566750718ea6Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 566850718ea6Smrg esac || 566950718ea6Smrg { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 567050718ea6Smrg$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 567150718ea6Smrg { (exit 1); exit 1; }; };; 567250718ea6Smrg esac 567350718ea6Smrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 567450718ea6Smrg ac_file_inputs="$ac_file_inputs '$ac_f'" 567550718ea6Smrg done 567650718ea6Smrg 567750718ea6Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 567850718ea6Smrg # use $as_me), people would be surprised to read: 567950718ea6Smrg # /* config.h. Generated by config.status. */ 568050718ea6Smrg configure_input='Generated from '` 568150718ea6Smrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 568250718ea6Smrg `' by configure.' 568350718ea6Smrg if test x"$ac_file" != x-; then 568450718ea6Smrg configure_input="$ac_file. $configure_input" 568550718ea6Smrg { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 568650718ea6Smrg$as_echo "$as_me: creating $ac_file" >&6;} 568750718ea6Smrg fi 568850718ea6Smrg # Neutralize special characters interpreted by sed in replacement strings. 568950718ea6Smrg case $configure_input in #( 569050718ea6Smrg *\&* | *\|* | *\\* ) 569150718ea6Smrg ac_sed_conf_input=`$as_echo "$configure_input" | 569250718ea6Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 569350718ea6Smrg *) ac_sed_conf_input=$configure_input;; 569450718ea6Smrg esac 569550718ea6Smrg 569650718ea6Smrg case $ac_tag in 569750718ea6Smrg *:-:* | *:-) cat >"$tmp/stdin" \ 569850718ea6Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 569950718ea6Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 570050718ea6Smrg { (exit 1); exit 1; }; } ;; 570150718ea6Smrg esac 5702566738d7Smrg ;; 5703566738d7Smrg esac 570450718ea6Smrg 5705566738d7Smrg ac_dir=`$as_dirname -- "$ac_file" || 5706566738d7Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5707566738d7Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 570850718ea6Smrg X"$ac_file" : 'X\(//\)$' \| \ 570950718ea6Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 571050718ea6Smrg$as_echo X"$ac_file" | 571150718ea6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 571250718ea6Smrg s//\1/ 571350718ea6Smrg q 571450718ea6Smrg } 571550718ea6Smrg /^X\(\/\/\)[^/].*/{ 571650718ea6Smrg s//\1/ 571750718ea6Smrg q 571850718ea6Smrg } 571950718ea6Smrg /^X\(\/\/\)$/{ 572050718ea6Smrg s//\1/ 572150718ea6Smrg q 572250718ea6Smrg } 572350718ea6Smrg /^X\(\/\).*/{ 572450718ea6Smrg s//\1/ 572550718ea6Smrg q 572650718ea6Smrg } 572750718ea6Smrg s/.*/./; q'` 572850718ea6Smrg { as_dir="$ac_dir" 572950718ea6Smrg case $as_dir in #( 573050718ea6Smrg -*) as_dir=./$as_dir;; 573150718ea6Smrg esac 5732566738d7Smrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 573350718ea6Smrg as_dirs= 573450718ea6Smrg while :; do 573550718ea6Smrg case $as_dir in #( 573650718ea6Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 573750718ea6Smrg *) as_qdir=$as_dir;; 573850718ea6Smrg esac 573950718ea6Smrg as_dirs="'$as_qdir' $as_dirs" 5740566738d7Smrg as_dir=`$as_dirname -- "$as_dir" || 5741566738d7Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5742566738d7Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 574350718ea6Smrg X"$as_dir" : 'X\(//\)$' \| \ 574450718ea6Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 574550718ea6Smrg$as_echo X"$as_dir" | 574650718ea6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 574750718ea6Smrg s//\1/ 574850718ea6Smrg q 574950718ea6Smrg } 575050718ea6Smrg /^X\(\/\/\)[^/].*/{ 575150718ea6Smrg s//\1/ 575250718ea6Smrg q 575350718ea6Smrg } 575450718ea6Smrg /^X\(\/\/\)$/{ 575550718ea6Smrg s//\1/ 575650718ea6Smrg q 575750718ea6Smrg } 575850718ea6Smrg /^X\(\/\).*/{ 575950718ea6Smrg s//\1/ 576050718ea6Smrg q 576150718ea6Smrg } 576250718ea6Smrg s/.*/./; q'` 5763566738d7Smrg test -d "$as_dir" && break 576450718ea6Smrg done 576550718ea6Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 576650718ea6Smrg } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 5767566738d7Smrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 5768566738d7Smrg { (exit 1); exit 1; }; }; } 5769566738d7Smrg ac_builddir=. 577050718ea6Smrg 577150718ea6Smrgcase "$ac_dir" in 577250718ea6Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 577350718ea6Smrg*) 577450718ea6Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 577550718ea6Smrg # A ".." for each directory in $ac_dir_suffix. 577650718ea6Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 577750718ea6Smrg case $ac_top_builddir_sub in 577850718ea6Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 577950718ea6Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 578050718ea6Smrg esac ;; 578150718ea6Smrgesac 578250718ea6Smrgac_abs_top_builddir=$ac_pwd 578350718ea6Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 578450718ea6Smrg# for backward compatibility: 5785566738d7Smrgac_top_builddir=$ac_top_build_prefix 5786566738d7Smrg 578750718ea6Smrgcase $srcdir in 5788566738d7Smrg .) # We are building in place. 578950718ea6Smrg ac_srcdir=. 579050718ea6Smrg ac_top_srcdir=$ac_top_builddir_sub 579150718ea6Smrg ac_abs_top_srcdir=$ac_pwd ;; 5792566738d7Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 579350718ea6Smrg ac_srcdir=$srcdir$ac_dir_suffix; 579450718ea6Smrg ac_top_srcdir=$srcdir 579550718ea6Smrg ac_abs_top_srcdir=$srcdir ;; 579650718ea6Smrg *) # Relative name. 579750718ea6Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 579850718ea6Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 5799566738d7Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 580050718ea6Smrgesac 5801566738d7Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5802566738d7Smrg 580350718ea6Smrg 580450718ea6Smrg case $ac_mode in 580550718ea6Smrg :F) 580650718ea6Smrg # 580750718ea6Smrg # CONFIG_FILE 5808566738d7Smrg # 5809566738d7Smrg 5810566738d7Smrg case $INSTALL in 581150718ea6Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5812566738d7Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 581350718ea6Smrg esac 581450718ea6Smrg ac_MKDIR_P=$MKDIR_P 581550718ea6Smrg case $MKDIR_P in 581650718ea6Smrg [\\/$]* | ?:[\\/]* ) ;; 581750718ea6Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 581850718ea6Smrg esac 5819566738d7Smrg_ACEOF 582050718ea6Smrg 582150718ea6Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 582250718ea6Smrg# If the template does not know about datarootdir, expand it. 582350718ea6Smrg# FIXME: This hack should be removed a few years after 2.60. 582450718ea6Smrgac_datarootdir_hack=; ac_datarootdir_seen= 582550718ea6Smrg 582650718ea6Smrgac_sed_dataroot=' 582750718ea6Smrg/datarootdir/ { 582850718ea6Smrg p 582950718ea6Smrg q 583050718ea6Smrg} 583150718ea6Smrg/@datadir@/p 583250718ea6Smrg/@docdir@/p 583350718ea6Smrg/@infodir@/p 583450718ea6Smrg/@localedir@/p 583550718ea6Smrg/@mandir@/p 583650718ea6Smrg' 583750718ea6Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 583850718ea6Smrg*datarootdir*) ac_datarootdir_seen=yes;; 583950718ea6Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 584050718ea6Smrg { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 584150718ea6Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 584250718ea6Smrg_ACEOF 584350718ea6Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 584450718ea6Smrg ac_datarootdir_hack=' 584550718ea6Smrg s&@datadir@&$datadir&g 584650718ea6Smrg s&@docdir@&$docdir&g 584750718ea6Smrg s&@infodir@&$infodir&g 584850718ea6Smrg s&@localedir@&$localedir&g 584950718ea6Smrg s&@mandir@&$mandir&g 585050718ea6Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 5851566738d7Smrgesac 585250718ea6Smrg_ACEOF 585350718ea6Smrg 585450718ea6Smrg# Neutralize VPATH when `$srcdir' = `.'. 585550718ea6Smrg# Shell code in configure.ac might set extrasub. 585650718ea6Smrg# FIXME: do we really want to maintain this feature? 585750718ea6Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5858566738d7Smrgac_sed_extra="$ac_vpsub 5859566738d7Smrg$extrasub 586050718ea6Smrg_ACEOF 5861566738d7Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5862566738d7Smrg:t 586350718ea6Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 586450718ea6Smrgs|@configure_input@|$ac_sed_conf_input|;t t 586550718ea6Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 586650718ea6Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 586750718ea6Smrgs&@srcdir@&$ac_srcdir&;t t 586850718ea6Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 586950718ea6Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 587050718ea6Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 587150718ea6Smrgs&@builddir@&$ac_builddir&;t t 587250718ea6Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 587350718ea6Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 587450718ea6Smrgs&@INSTALL@&$ac_INSTALL&;t t 587550718ea6Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 587650718ea6Smrg$ac_datarootdir_hack 587750718ea6Smrg" 587850718ea6Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 587950718ea6Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 588050718ea6Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 5881566738d7Smrg { (exit 1); exit 1; }; } 588250718ea6Smrg 588350718ea6Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 588450718ea6Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 588550718ea6Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 588650718ea6Smrg { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 588750718ea6Smrgwhich seems to be undefined. Please make sure it is defined." >&5 588850718ea6Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 588950718ea6Smrgwhich seems to be undefined. Please make sure it is defined." >&2;} 589050718ea6Smrg 589150718ea6Smrg rm -f "$tmp/stdin" 589250718ea6Smrg case $ac_file in 589350718ea6Smrg -) cat "$tmp/out" && rm -f "$tmp/out";; 589450718ea6Smrg *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 589550718ea6Smrg esac \ 589650718ea6Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 589750718ea6Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 589850718ea6Smrg { (exit 1); exit 1; }; } 589950718ea6Smrg ;; 590050718ea6Smrg 590150718ea6Smrg 590250718ea6Smrg :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 590350718ea6Smrg$as_echo "$as_me: executing $ac_file commands" >&6;} 590450718ea6Smrg ;; 590550718ea6Smrg esac 590650718ea6Smrg 590750718ea6Smrg 590850718ea6Smrg case $ac_file$ac_mode in 590950718ea6Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 591050718ea6Smrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 591150718ea6Smrg # are listed without --file. Let's play safe and only enable the eval 591250718ea6Smrg # if we detect the quoting. 591350718ea6Smrg case $CONFIG_FILES in 591450718ea6Smrg *\'*) eval set x "$CONFIG_FILES" ;; 591550718ea6Smrg *) set x $CONFIG_FILES ;; 591650718ea6Smrg esac 591750718ea6Smrg shift 591850718ea6Smrg for mf 591950718ea6Smrg do 592050718ea6Smrg # Strip MF so we end up with the name of the file. 592150718ea6Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 592250718ea6Smrg # Check whether this is an Automake generated Makefile or not. 592350718ea6Smrg # We used to match only the files named `Makefile.in', but 592450718ea6Smrg # some people rename them; so instead we look at the file content. 592550718ea6Smrg # Grep'ing the first line is not enough: some people post-process 592650718ea6Smrg # each Makefile.in and add a new line on top of each file to say so. 592750718ea6Smrg # Grep'ing the whole file is not good either: AIX grep has a line 592850718ea6Smrg # limit of 2048, but all sed's we know have understand at least 4000. 592950718ea6Smrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 593050718ea6Smrg dirpart=`$as_dirname -- "$mf" || 593150718ea6Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 593250718ea6Smrg X"$mf" : 'X\(//\)[^/]' \| \ 593350718ea6Smrg X"$mf" : 'X\(//\)$' \| \ 593450718ea6Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 593550718ea6Smrg$as_echo X"$mf" | 593650718ea6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 593750718ea6Smrg s//\1/ 593850718ea6Smrg q 593950718ea6Smrg } 594050718ea6Smrg /^X\(\/\/\)[^/].*/{ 594150718ea6Smrg s//\1/ 594250718ea6Smrg q 594350718ea6Smrg } 594450718ea6Smrg /^X\(\/\/\)$/{ 594550718ea6Smrg s//\1/ 594650718ea6Smrg q 594750718ea6Smrg } 594850718ea6Smrg /^X\(\/\).*/{ 594950718ea6Smrg s//\1/ 595050718ea6Smrg q 595150718ea6Smrg } 595250718ea6Smrg s/.*/./; q'` 595350718ea6Smrg else 595450718ea6Smrg continue 595550718ea6Smrg fi 595650718ea6Smrg # Extract the definition of DEPDIR, am__include, and am__quote 595750718ea6Smrg # from the Makefile without running `make'. 595850718ea6Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 595950718ea6Smrg test -z "$DEPDIR" && continue 596050718ea6Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 596150718ea6Smrg test -z "am__include" && continue 596250718ea6Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 596350718ea6Smrg # When using ansi2knr, U may be empty or an underscore; expand it 596450718ea6Smrg U=`sed -n 's/^U = //p' < "$mf"` 596550718ea6Smrg # Find all dependency output files, they are included files with 596650718ea6Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 596750718ea6Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 596850718ea6Smrg # expansion. 596950718ea6Smrg for file in `sed -n " 597050718ea6Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 597150718ea6Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 597250718ea6Smrg # Make sure the directory exists. 597350718ea6Smrg test -f "$dirpart/$file" && continue 597450718ea6Smrg fdir=`$as_dirname -- "$file" || 597550718ea6Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 597650718ea6Smrg X"$file" : 'X\(//\)[^/]' \| \ 597750718ea6Smrg X"$file" : 'X\(//\)$' \| \ 597850718ea6Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 597950718ea6Smrg$as_echo X"$file" | 598050718ea6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 598150718ea6Smrg s//\1/ 598250718ea6Smrg q 598350718ea6Smrg } 598450718ea6Smrg /^X\(\/\/\)[^/].*/{ 598550718ea6Smrg s//\1/ 598650718ea6Smrg q 598750718ea6Smrg } 598850718ea6Smrg /^X\(\/\/\)$/{ 598950718ea6Smrg s//\1/ 599050718ea6Smrg q 599150718ea6Smrg } 599250718ea6Smrg /^X\(\/\).*/{ 599350718ea6Smrg s//\1/ 599450718ea6Smrg q 599550718ea6Smrg } 599650718ea6Smrg s/.*/./; q'` 599750718ea6Smrg { as_dir=$dirpart/$fdir 599850718ea6Smrg case $as_dir in #( 599950718ea6Smrg -*) as_dir=./$as_dir;; 600050718ea6Smrg esac 600150718ea6Smrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 600250718ea6Smrg as_dirs= 600350718ea6Smrg while :; do 600450718ea6Smrg case $as_dir in #( 600550718ea6Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 600650718ea6Smrg *) as_qdir=$as_dir;; 600750718ea6Smrg esac 600850718ea6Smrg as_dirs="'$as_qdir' $as_dirs" 600950718ea6Smrg as_dir=`$as_dirname -- "$as_dir" || 601050718ea6Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 601150718ea6Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 601250718ea6Smrg X"$as_dir" : 'X\(//\)$' \| \ 601350718ea6Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 601450718ea6Smrg$as_echo X"$as_dir" | 601550718ea6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 601650718ea6Smrg s//\1/ 601750718ea6Smrg q 601850718ea6Smrg } 601950718ea6Smrg /^X\(\/\/\)[^/].*/{ 602050718ea6Smrg s//\1/ 602150718ea6Smrg q 602250718ea6Smrg } 602350718ea6Smrg /^X\(\/\/\)$/{ 602450718ea6Smrg s//\1/ 602550718ea6Smrg q 602650718ea6Smrg } 602750718ea6Smrg /^X\(\/\).*/{ 602850718ea6Smrg s//\1/ 602950718ea6Smrg q 603050718ea6Smrg } 603150718ea6Smrg s/.*/./; q'` 603250718ea6Smrg test -d "$as_dir" && break 603350718ea6Smrg done 603450718ea6Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 603550718ea6Smrg } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 603650718ea6Smrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 603750718ea6Smrg { (exit 1); exit 1; }; }; } 603850718ea6Smrg # echo "creating $dirpart/$file" 603950718ea6Smrg echo '# dummy' > "$dirpart/$file" 604050718ea6Smrg done 604150718ea6Smrg done 604250718ea6Smrg} 604350718ea6Smrg ;; 604450718ea6Smrg 604550718ea6Smrg esac 6046566738d7Smrgdone # for ac_tag 6047566738d7Smrg 6048566738d7Smrg 6049566738d7Smrg{ (exit 0); exit 0; } 6050566738d7Smrg_ACEOF 6051566738d7Smrgchmod +x $CONFIG_STATUS 6052566738d7Smrgac_clean_files=$ac_clean_files_save 605350718ea6Smrg 605450718ea6Smrgtest $ac_write_fail = 0 || 605550718ea6Smrg { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 605650718ea6Smrg$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 605750718ea6Smrg { (exit 1); exit 1; }; } 6058566738d7Smrg 6059566738d7Smrg 6060566738d7Smrg# configure is writing to config.log, and then calls config.status. 6061566738d7Smrg# config.status does its own redirection, appending to config.log. 6062566738d7Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 6063566738d7Smrg# by configure, so config.status won't be able to write to it; its 6064566738d7Smrg# output is simply discarded. So we exec the FD to /dev/null, 6065566738d7Smrg# effectively closing config.log, so it can be properly (re)opened and 6066566738d7Smrg# appended to by config.status. When coming back to configure, we 6067566738d7Smrg# need to make the FD available again. 6068566738d7Smrgif test "$no_create" != yes; then 6069566738d7Smrg ac_cs_success=: 6070566738d7Smrg ac_config_status_args= 6071566738d7Smrg test "$silent" = yes && 6072566738d7Smrg ac_config_status_args="$ac_config_status_args --quiet" 6073566738d7Smrg exec 5>/dev/null 6074566738d7Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6075566738d7Smrg exec 5>>config.log 6076566738d7Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6077566738d7Smrg # would make configure fail if this is the last instruction. 6078566738d7Smrg $ac_cs_success || { (exit 1); exit 1; } 607950718ea6Smrgfi 608050718ea6Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 608150718ea6Smrg { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 608250718ea6Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6083566738d7Smrgfi 6084 6085